Apache – Deny direct access to executing script
I previously had below which worked ok, RewriteEngine on RewriteRule ^([0-9]+)/?$ /news/index.php?post=$1 [L,QSA] But I don't want it to open like this https://example.com/news/index.php?post=123456 I want it to open only in such a way that it only allows numbers https://example.com/news/123456 is…