View Single Post
  #5 (permalink)  
Old 08-29-2008, 05:37 PM
chowell's Avatar
chowell chowell is offline
WebProWorld Pro
 
Join Date: Oct 2003
Location: Phoenix, AZ
Posts: 224
chowell RepRank 1
Default Re: 301 Redirect for index.php - only half the job?

Quote:
Originally Posted by slobjones View Post
I've been advised by the developer of my sitemap generator to not only institute a 301 Redirect from index.php to the root of my site, but to remove all references to index.php in my blog.

The thought is to remove all redundant references, thus maximizing SEO and making things simpler for Google.
Is this second step advisable, or is the Redirect sufficient?

Thanks.
I don't believe that you can do a redirect, because you'll create an endless loop for your server. Because "index.php" is the default page within a folder, redirecting the index.php path back to the "/" will only cause it to keep redirecting itself over & over.

What you need to do is try and find out where the "index.php" is being referenced in your blog system/template and modify if to point to the "/" only (removing the index.php from the path).
Reply With Quote