Hi all,
I am using .htaccess to rewrite nice looking URL's to one output page called results.php and a query string:
RewriteRule category-(.+).html results.php?c=$1
This works as expected (eg. category-coffee.html correctly ends up on results.php and I can retrieve coffee from the query string c)
However, some of my categories contain accent characters.
I am trying to use urlencode() and urldecode() to retrieve the accents.
For example, thé.
This gives category-th%E9.html
On my hosting company, this operates correctly and I end up on my results.php retrieving thé from the query string c
On localhost, all I see is a Forbidden 403 page.
Can anyone explain why this is not working on localhost and yet works on a 'real' hosted server?
Also - how can I get it to work on localhost?
Thanks in advance,