[thelist] mod rewriting question

misterhaan misterhaan at track7.org
Tue May 15 19:03:00 CDT 2007


Tom Dell'Aringa wrote:
> Someone on the drupal list suggested this instead:
>
>   RewriteCond %{REQUEST_URI} ^[0-9]{4}/[0-9]{2}/[0-9]{2}/(.+?)/?$ [NC]
>   RewriteCond %{REQUEST_URI} !^.*\.css.*$ [NC]
>   RewriteRule . /articles/$1/ [R=301,L]
>
> However, while this does fix the CSS problem, the rewrites don't work at
> all...
>   
try putting the second RewriteCond from that right before the 
RewriteRule you got from us.



More information about the thelist mailing list