[wp-hackers] .htaccess cleanup

Denis de Bernardy denis at semiologic.com
Sun May 22 18:47:16 GMT 2005


> RewriteRule ^(.+)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
> 
> This rule would result in infinite redirects since it will 
> match anything; an internal server error would be issued once 
> MaxRedirects was reached.

If you say so, I imagine... Though... If you put the rule at the end of the
.htaccess file, as a catch all, wouldn't the infinite redirect only occur of
the .htaccess file is evaluated several times?

D.



More information about the wp-hackers mailing list