A friend has a German website – all urls need to be redirected to main.php to be processed – unfortunately, any with German characters aren’t being redirected.
This is the rule in question:
RewriteRule ^([a-zA-Z0-9\-\/ÀÁÅÃÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ]+)$ /main.php?qs=$1 [L]
Can anyone see an obvious issue?
Cheers!
This is an encoding issue and not easy to fix as URLs should be UTF-8 encoded but are not required to.
As you want to redirect all URLs and capture the path why not just use this far simpler regular expression?