Forum Moderators: martinibuster
Previously, the home page that was formatted as www.thesite.com/index.htm
had a page rank of 2 (I think).
Now the home page is a index.php page. Therefore, he created a index.htm that will redirect to index.php.
He has told me that the "server precidence" is probably set to index.htm, then index.php. My thought is that we should remove the index.htm entirely. Agreed? The redirect may be looked down upon by the SE.
But what about my PR that is existing. Will it be lost?
Ideas?
He has told me that the "server precidence" is probably set to index.htm, then index.php.
He is correct.PR is attributed to a specific page so to a specific url address.
My thought is that we should remove the index.htm entirely. Agreed? The redirect may be looked down upon by the SE.
To keep the .htm page could be justifyed only if the previous .htm page brought you good traffic (it hasn't effect on PR)
But what about my PR that is existing. Will it be lost?
Of course.But I wouldn't be worried for a PR 2 or so.It's easy to "recover" it.Just repeat your index page inbound links on the new url address.
I agree that the PR of "merely 2" should be easy to get back. I guess I should not worry about it.
Let's assume that I am going to remove the index.htm and just put up an index.php. (Which is probably what we will do.) If someone types in www.mysite.com, they will go straight to the index.php, right?
But what if they have a bookmark to www.mysite.com/index.htm? Will the "server precedence" move them over to index.php?
If not, how do I handle this?
If you go through your site and make sure that there are no links to "index.*" and all links to your home page just reference your domain name, then you'll never have an issue about pagerank being split between your bare domain name (from incoming links) and your index.* file (from internal links) - Google can see these as separate pages with duplicate content.
It was my understanding that the search engines look down on any redirects? Isn't that in Google's Terms of Service? Am I missing something here?
Do search engines understand the difference between a "Good redirect" and a "bad redirect"?
He has told me that the "server precidence" is probably set to index.htm, then index.php
There shouldn't be any probably. If he's the web developer, he should know how it's set.
Best bet, have him rename the index.php and any other php pages .htm (your original page names) and set the server to parse htm pages as php. (As a web developer he should know how to do this or get this done.) No redirects, no losing links, no losing bookmarks.
And yes, I would remove the index.htm completely, unless you've got people linking to it, in which case setup a 301 redirect to the root of the site. Also, you might want to change the servers "default page" to index.php so that everyone who hits your site doesn't need to redirect through .htm
As Google (direct quote) says...
Quality Guidelines - Specific recommendations:
Don't employ cloaking or sneaky redirects.
My question is...
If I leave the .htm redirecting to the .php, could this be mistaken for a "sneaky redirect"?
Any thoughts?