RewriteRule only works with numbers
I currently try to get the link
to act as a link with e.g. an additional website tag:
I set up a RewriteRule in the .htaccess that looks as following:
RewriteRule ^subdir/(.*)/$ subdir.php?website=$1 [L]
When I use numbers (
echo $_GET["website"] successfully echoes "123". As soon as I use alphabetical letters (
example.com/subdir/abc/) it does not work.
How do I get this changed? Is this an issue with WordPress? I have set the permalink option in the WordPress Settings Dashboard to "Post name". I tried other methods, too, but nothing has changed.