I’m trying to rewrite a URL which may contain accented letters. Currently I have
RewriteRule ^place-([A-za-z]+)$ place.php?n=$1 [PT,L]
but of course that only allows non-accented letters. Any ideas how to extend it to allow accented letters too, please?
You can add another range of characters for accents.
I don’t know if apache is locale aware, but I would try “word character” -
Thanks, @SamA74 and @Mittineague. I’ll try both (probably tomorrow now) and report back.
'fraid yours doesn’t Mitt
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.