View Single Post
  #5 (permalink)  
Old 01-09-2004, 04:28 AM
ronniethedodger's Avatar
ronniethedodger ronniethedodger is offline
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Central US
Posts: 1,581
ronniethedodger RepRank 0
Default

Mel has the correct solution. That is a very good article on how to redirect the user to your index.html page which holds the Frameset.

You DO NOT want to put the robot exclusion tag for NOINDEX. That is the page that is showing up in the Google results for Pete's sake. The NOINDEX will tell the robot not to index it and it will no longer appear in the results.

I will take it a step further on the NOINDEX. Do not ever use it. Use your robots.txt file to accomplish your exclusions with. It is a lot cleaner and you can get rid of all that unnecessary robot meta tag stuff off of your pages too. The robots Meta tag is not required. It was added to the tag list years ago when certain Hosts would not allow access to the Server to upload a robots.txt file.

Go with the javascript redirection in the article that Mel cited. This will redirect your visitors who click on link in the Google results for your frame content to the index.html frameset and load your content page inside of it. I looked at the article and it is very well written and easy to understand.

Another script is also available here too and will give you a demonstration of the redirect in action :
http://javascript.internet.com/page-...in-frames.html

This is a sample of the same type of page you are talking about that would be showing up in the results. When you click on that link, it will load itself inside the frameset. The sample code and comments are in the framed page for you to see and copy for your own use.

An interesting side-effect to this script is that if anybody tries to load your content pages into their own framesets....it will boot it out and load it into your frameset. ;0)
Reply With Quote