S
S
SegeyIvn2019-02-20 22:36:48
Joomla
SegeyIvn, 2019-02-20 22:36:48

How to redirect a regular page to a 404 or 403 page?

Hello, please help me to do something like this. How can I make this link on my website http://www.mysite.ru/index.php/videoroliki?page14 redirect to 404 or 403 for example?
Site on joomla 3.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Notan Royamov, 2019-04-12
@Royamov

If the page does not exist, then the server's 404 response should occur by default.

W
webicdew, 2019-02-21
@webicdew

Open .htaccess (in root folder) and write this,

ErrorDocument 404 /404.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 503 /503.shtml

Of course, if not, these pages will need to be done.

P
Pavel, 2019-03-19
@3axap_90

ErrorDocument 404 /index.php/videoroliki?page14 is for 404 errors
ErrorDocument 403 /index.php/videoroliki?page14 is for 403 errors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question