- Code: Select all
RewriteRule ^(.*)$ index.php?path=$1 [QSA,NS,L]
So that it only works when '.html' isn't in the path? I think in need [^html] somewhere in there?
RewriteRule ^(.*)$ index.php?path=$1 [QSA,NS,L]RewriteCond %{QUERY_STRING} !html&?
RewriteRule ^(.*)$ index.php?path=$1 [QSA,NS,L]
Return to Redirect or Rewrite Questions