E
E
Egor Ogurtsov2016-06-12 12:35:31
htaccess
Egor Ogurtsov, 2016-06-12 12:35:31

How to redirect to /404?

There is a url mysite.ru/mylink, but the engine also shows this page if you add anything to the url, for example - mysite.ru/mylink/ololo /mylink is a specific url

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Noskov, 2016-06-12
@kovspace

Engines usually have a routing module that does this. And .htaccess only points to the entry point to index.php. Google the documentation for the engine or look for routing settings in the engine files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question