Hello, I have a problem with RewriteRules.
I'm currently using this rule:
RewriteRule ^([^/.]+)/?$ index.php?clip=$1
This works fine for links as these, where $_GET['clip']
is the value after the slash:
But not for those with a dot character, like these:
http://example.com/abcdefg.png
How should I change the RewriteRule to make it work for such links?