Forum Moderators: open

Message Too Old, No Replies

Meta tag placement on page

What happens if meta tags are placed in <body>?

         

twoline

10:55 pm on Jul 24, 2002 (gmt 0)

10+ Year Member



Hi. This is my first post in these forums, and it's kind of a complicated question. I've been reading about SEO for a little while, so I know the basics, but not sure about this one. Here goes:

The site I work for uses a "templating engine" to create html pages on the fly. The templating engine assembles the header, body, and some kind of footer from various places to make up the viewable page. The headers are pulled from a central file that needs to load with every page view. It's not really practical to have individual page <title> and <meta> tags because the site is large and this centralized file would become so large that it would slow down the site from loading. It's an ecommerce site, so that's obviously not good. So as a result, we have basically one <title> and one <meta> tag set for the entire site (most pages have the same title and meta tags).

I know this isn't ideal, especially regarding the title tag. I also know the meta tags are not that important (especially the keyword tag), but I'd like to get a description tag listed for each page. I'm wondering if it might be possible to put the meta description tag in the body section of each page and still get credit from google and other spider-based indexes. I know it's supposed to be in the <head> section of the page, but I wanted to know if it would also work if placed in <body>. The tag doesn't affect the viewable page, so maybe it would work.

This isn't an attempt to spam, just a work-around to address the site architecture.

Does anyone have any thoughts on this?

jdMorgan

11:12 pm on Jul 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



twoline,

Welcome to wmw!

The meta tags will likely be ignored if they are placed in the body, and will cause your
pages to fail validation.

The Title and Description tags are fairly important, and worth an architecture change, IMHO.
How about several canned "Title and Description" snippets that can be included using server-
side includes on each (or a few) pages? Having a good title and description is crucial to
the visibility of the pages on search engines, and therefore to the success of the site.

HTH,
Jim

twoline

6:37 pm on Jul 26, 2002 (gmt 0)

10+ Year Member



Thanks for the welcome, and for your thoughts. This is definitely a challenge as the site was built for replication on various partner sites (thus, the templating engine) but not for SEO. I'll run the SSI idea up the flagpole.

carylf

7:58 pm on Jul 26, 2002 (gmt 0)

10+ Year Member



We had a similar situation. What about having a few different headers? This way you set up "section" headers, breaking it down by your site's architecture.

For instance, have a "products" header, and a "services" header, etc. With this method, you can have at least unique tags for the home page and those 2nd level sections.

Works for us...
:)

twoline

9:14 pm on Jul 26, 2002 (gmt 0)

10+ Year Member



We've started to do this to some extent, and wanted to see if there was a simple way to get the ideal per-page title and descriptions before we put "section" title/descriptions throughout the site. Thanks for the idea...