[thelist] 301 redirection mess -- two wholesale site-URL-structure changes within 8 months

Gersten, John JGERSTEN at lchb.com
Tue Apr 5 22:12:42 CDT 2011


Mohan --

What you outline looks great. We are unfortunately laboring under a custom php front end and I have to coordinate some of the changes with an outside dev team. So it may be some time before I can report success <grin>. But hugely helpful, thanks!

-----Original Message-----
From: thelist-bounces at lists.evolt.org on behalf of Mohan Arun
Sent: Mon 4/4/11 19:52
To: thelist at lists.evolt.org
Subject: Re: [thelist] 301 redirection mess -- two wholesale site-URL-structure changes within 8 months
 
>"I'll change the original 301s to the newest URLs, and then add a new set
for the updated "numeric" pages."

Do this:
change the original 301s to the newest URLs (in your htaccess)

Dont do this:
then add a new set for the updated "numeric" pages.

Instead, do this:
set 301 and Location: header dynamically in your php

See why:
http://mohanarun.com/301-redirect-chains-best-practice-guide/

- Mohan
Blog: http://www.mohanarun.com
Tweets: http://twitter.com/437341
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt ! 



This message is intended for the named recipients only.  It may contain information protected by the attorney-client or work-product privilege.  If you have received this email in error, please notify the sender immediately by replying to this email.  Please do not disclose this message to anyone and delete the message and any attachments. Thank you.



More information about the thelist mailing list