Script and Meta Tag order

Events happening in the community are now at Drupal community events on www.drupal.org.
tom.camp's picture

Recently a client contacted me with some instructions from her SEO guy. He is quite concerned that there are script tags before the meta description, keywords and robots. This data is being generated using print $head right after the print $head_title.

Example:

<title>Mountain Climbing Expeditions | Family Adventure Travel</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if lt IE 7]>
   <script type="text/javascript" src="/misc/jquery.js"></script>
<script type="text/javascript" src="/misc/drupal.js"></script>
<script type="text/javascript" src="/modules/nice_menus/nice_menus.js"></script>
<![endif]-->

<script type="text/javascript"><!--
var BASE_URL = "/";
--></script>

<script type="text/javascript"><!--
var BASE_URL = "/";
--></script>

<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
<!--[if lte IE 7]>
<link rel="stylesheet" href="/sites/all/modules/jstools/tabs/tabs-ie.css" type="text/css" media="projection, screen" />
<![endif]-->

<meta name="description" content="From mountain climbing expeditions to family adventure travel, we offer an array of international adventure tours. Explore the Alps by skis on the Haute Route or go hiking in Patagonia." />
<meta name="keywords" content="mountain climbing,expeditions,adventure eco travel,famlily adventure travel,hiking vacation,trekking trips,adventure travel guide,aspen adventure travel,mountain world travel,adventure travel company,IFMGA mountain guide,sustainable travel" />
<meta name="robots" content="index,follow" />
<meta name="DC.title" content="Adventures" />
<link rel="shortcut icon" href="/files/favicon.ico" type="image/x-icon" />

Is this actually a concern, and if so, how can I correct it?

Thanks

Comments

I have never heard that the

yaph's picture

I have never heard that the position of meta tags in the head section does matter. Would be interesting to hear an explanation from the SEO guy for his concerns.

--
ramiro.org

script elements

Z2222's picture

I don't think the order makes any difference at all.

The robots meta tag isn't needed if it just contains "index,follow".

--
My Drupal Tutorials

That's right robots will

yaph's picture

That's right robots will index and follow, when there is no robots meta tag, but this may lead to problems with duplicate titles. I recently wrote an article about that and a possible way to avoid duplicate titles:
http://www.seo-expert-blog.com/blog/avoiding-duplicate-title-tags-on-pag...

--
ramiro.org

Ok, that confirms my

tom.camp's picture

Ok, that confirms my suspicions.

Thanks,

When in doubt, go downhill.

Search Engine Optimization (SEO)

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: