JavaScript/CGI-Perl & meta-tags

  • Newnewbie
  • Novice
  • Novice
  • Newnewbie
  • Posts: 19

Post 3+ Months Ago

Was wondering something...

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
  • Graduate
  • pompei
  • Posts: 117

Post 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
  • Novice
  • Newnewbie
  • Posts: 19

Post 3+ Months Ago

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

THANKS!!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.