How to make a ban jump to specific links?

Hello!
I had a problem.
I need to prevent user to click on such links, for example:
/blog.php?id=1 and make it so that you could only go so /blog/1
June 14th 19 at 19:01
0 answer

Find more questions by tags htaccessPHP