A
A
Albert Kazan2016-10-08 11:34:50
PHP
Albert Kazan, 2016-10-08 11:34:50

How to redirect to a new page?

Through the RewriteRule, the /reg.php page is now available at /signin.
How to make it so that when trying to switch to the old /reg.php, the user is thrown to /signin?
ps From Google, I could not understand the thing with 301 and redirect, unfortunately.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WQP, 2016-10-08
@WQP

RewriteEngine On
Redirect 301 /reg.php http://site.ru/signin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question