A
A
Abai Kerimov2015-07-03 09:09:01
PHP
Abai Kerimov, 2015-07-03 09:09:01

How can I get a 404 for a random url?

There is a site. I can't redirect to a 404 page for a while. For example, if the user enters any characters, for example www.site.ru/qwqwjfnfjd, then it should be redirected to 404.php. Help me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Abay Kerimov, 2015-07-03
@direwolf

Look at the site www.logosgroup.kz. If I type www.logosgroup.kz/qwqw it automatically redirects to www.logosgroup.kz/404.php. I should have this too. Help

C
Chanki, 2015-07-08
@chanki

What is the website written on? How is the url formed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question