Give help. Get help.
I use the following rewrite rule to behind the scenes rewrite addresses such as /pageName and /pageName/ to index.php?page=pageName. It works perfectly except when the pageName contains a -.
RewriteRule ^(w+)$ /index.php?page=$1
RewriteRule ^(w+)/$ /index.php?page=$1
How can I get these rewrite rules to accept any input (or at least input containing A-Z, 1-9, and -‘s.
You must be logged in to reply to this topic.