JavaScript/CGI-Perl & meta-tags

Is it okay to use JavaScript to write metatags? Are the search engines cool with that?

Also...I've got a CGI-Perl shopping cart that has a bunch of include files. It's got a header include file with just some HTML and meta-tags in it. Are those meta-tags getting indexed??

Any advice would be GREATLY appreciated!
Thx!!

pompei

Graduate

Posts: 117

3+ Months Ago

I think the easiest test with search engines is to use your view->source code (if you happen to be on IE). Usually, include files from Perl or PHP should generate the webpage code server-side, so accessing the page will just result in pure HTML code visible to the browser (and thus search engine).

I'm not sure about using javascript to write metatags that are to be visible to search engines --- why don't you generate the metatags server-side in perl or php to be on the safe side?

Newnewbie

Novice

Posts: 19

3+ Months Ago

OK Good!! yeah, you are probably right, I should probably do it on the server side just in case.