[wp-hackers] Help modifying .htaccess to redirect old urls

Sam Angove sam at rephrase.net
Sun Jun 4 01:53:41 GMT 2006


On 6/4/06, Brian Layman <Brian at thecodecave.com> wrote:

> RewriteRule ^blog/_archives/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)\.html$ http://connectedinternet.co.uk/$1/$2/$3/ [QSA,L]

If the aim is to redirect and not just map the old URL onto the new
content, there should be an R flag in there.

RewriteRule ^blog/_archives/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)\.html$
/$1/$2/$3/ [QSA,R=301]


More information about the wp-hackers mailing list