Forum Moderators: phranque
[edited by: tedster at 4:56 pm (utc) on Feb 21, 2010]
[edit reason] switch to example.com - it cannot be owned [/edit]
RewriteCond %{QUERY_STRING} .+
RewriteRule (.*) http://www.example.com/$1? [R=301,L] RewriteCond %{QUERY_STRING} .+
RewriteRule .* /non-existent-internal-path [L] ^[^/.]+\.htm$ ^[b]([/b][^/.]+\.htm[b])?[/b]$ ^[b](([^/]+/)+|[/b][^/.]+\.htm[b])?[/b]$ where | is a 'pipe' symbol. ^[b](([^/]+/)+([^.]+[/b]\.htm[b])?)?[/b]$