I have news items on my website that get rewritten using the following rule:
RewriteRule ^news/([^/]*)/([^/]*)$ /local/?page=home&news_id=$1&newsTitle=$2 [L]
Now one of the news item’s title is: achieves_100%_A*_to_C_in_GCSE
But the page doesn't get displayed and I get a 400 error.
I think that the problem is with the %
and the *
in the address.
How do I include both %
and *
in a reg exp.
Thanks in Advance