Hi,
I need to rewrite all URLs
domain.com/123
to domain.com/index.php?path=123
Where absolutely anything in place of "123" gets rewritten, except things beginning with "!"
e.g. domain.com/!123 doesn't get rewritten
Or, things with a certain folder name (there's only one of these)
i.e. domain.com/specialfolder doesn't get rewritten
I think it needs to be something like:
RewriteCond %{REQUEST_URI} != /specialfolder/
RewriteRule ([!])* index.php?path=$1
The problem is, that once it's rewritten it once, it then attempts to rewrite the index.php?path=mypath URL, and it goes in an infinite loop- any ideas?
Thanks,
ucbones