[thelist] 301 redirects in htaccess

Hassan Schroeder hassan.schroeder at gmail.com
Wed Jul 25 10:43:11 CDT 2012


On Wed, Jul 25, 2012 at 7:06 AM, David Kaufman <david at gigawatt.com> wrote:

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

Ack! No, look at Anthony Baratta's post; the rule above, without any
anchor at the beginning of the expression, will match the target URL
as well and result in a "too many redirects" loop.

-- 
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com
http://about.me/hassanschroeder
twitter: @hassan


More information about the thelist mailing list