Reply
301 Redirect for index.php - only half the job?
Old 08-28-2008, 09:10 PM 301 Redirect for index.php - only half the job?
Novice Talker

Posts: 11
Name: Bob Jones
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.
slobjones is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 08-28-2008, 09:39 PM Re: 301 Redirect for index.php - only half the job?
chrishirst's Avatar
Super Moderator

Posts: 16,452
Location: Blackpool. UK
Either version is fine, with the page name or without. It doesn't actually matter.

What matters is that you are consistent, and only use one version when linking internally and externally.

You have to be VERY careful when setting a redirect from index page name to site/folder root as it is all too easy to set up a closed loop.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-28-2008, 11:25 PM Re: 301 Redirect for index.php - only half the job?
Novice Talker

Posts: 11
Name: Bob Jones
Quote:
What matters is that you are consistent, and only use one version when linking internally and externally.
OK, then. I'd prefer to institute the redirect but continue to use the links as my blog creates them, starting with index.php.

Unfortunately, though, the redirect causes my sitemap generator to create two sets of links -- one with index.php and one without.

The index.php links are all titled "301 Moved" by the sitemap generator.

Should I filter this set of links from the sitemap, and keep the new ones? Or filter the new urls and keep the index.php set?

Thanks.

Last edited by slobjones : 08-29-2008 at 01:56 AM.
slobjones is offline
Reply With Quote
View Public Profile
 
Old 08-29-2008, 06:29 AM Re: 301 Redirect for index.php - only half the job?
chrishirst's Avatar
Super Moderator

Posts: 16,452
Location: Blackpool. UK
Quote:
OK, then. I'd prefer to institute the redirect but continue to use the links as my blog creates them, starting with index.php.
I'd say that would be the exact opposite of being consistent.

My first part of the solution would be to get rid of the "sitemap generator" completely
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-29-2008, 03:53 PM Re: 301 Redirect for index.php - only half the job?
Novice Talker

Posts: 11
Name: Bob Jones
Quote:
Originally Posted by chrishirst View Post
My first part of the solution would be to get rid of the "sitemap generator" completely
Fine. I'll do that. And after that, I'll get rid of the redirect, too.

Thanks for all your help!
slobjones is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to 301 Redirect for index.php - only half the job?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13130 seconds with 12 queries