Reputation:
My URLS the page names example: ?Contact- or ?Product-
some have a longer querystring example: ?Contact-&go=Admin
domain.com/?Contact-&go=Admin
I would like a RewriteRule to use
domain.com/Contact/Admin
thanks
Upvotes: 0
Views: 163
Reputation: 655795
Try this:
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L]
RewriteRule ^([^/]+)/([^/]+)$ /?$1-&go=$1
The first rule is just to exclude requests for existing files.
Upvotes: 1