Forum Moderators: open
An old site I have uses frames. I really want to get rid of them but don't want to lose my ranking. \
The home page looks like:
<html>
<head>
etc..
<frameset cols="165,*">
<frame src="contents.htm" name="contents">
<frame src="home.htm" name="main">
<noframes>
You need a browser that is able to view frames to visit this site.
</noframes>
</frameset>
</html>
The search engines have indexed me as www.mysite.com/main.htm. Which is what shows up on google etc. since I put name = main in the code. So this is really my home page with contents.htm as the left nav. My listing in the search engines shows
www.mysite.com/main.htm. So the spiders found it from the main frames page shown above and named it main.htm.
However the cached pages show up blank.
Now if I make my home page www.mysite.com and get rid of the frames I will not be in the index since there will not be a main.htm. Or will there be if I just make a main.htm and make that my home page? Not sure if Google will drop me or not.
How do I fix this site? Do I have to do a re-direct and make my home page www.mysite.com/main.htm and make it without frames?
Or do I just build a main.htm and have my hosting read main.htm as the home page?
Please help so I can get rid of these nasty frames.
You may want to do a 301 redirect of main.htm to [mysite.com...]
You won't have to edit main.htm again, but every time you change index.html just save it again as main.htm. That way it won't make any difference how your site is accessed...
Though a redirect to index.html is even easier!
Add a 301 redirect to your htaccess: -
Redirect 301 /main.htm [domain.com...]
If your site is listed with WWW then: -
Redirect 301 /main.htm [domain.com...]
This will transfer your current PR to your homepage (index.htm) and you will have a frameless homepage.