[thelist] 301 redirects in htaccess

David Kaufman david at gigawatt.com
Wed Jul 25 09:06:26 CDT 2012

On 7/21/2012 4:23 PM, John Allsopp wrote:> This
 > http://www.johnallsopp.co.uk/blogViewer.php?blog=2012
 > is now this
 > http://www.johnallsopp.co.uk/oldSite/blogViewer.php?blog=2012
 > Do you know how to catch any URL with blogViewer in it and route
 > it to the oldSite page, and retain all that comes after? Do tell.

try this:

   RewriteEngine On
   Rewrite Base /
   RewriteRule blogViewer(.*)$  oldSite/blogViewer$1 [R,L]



More information about the thelist mailing list