How to redirect website URL to some other URL

Redirecting URL to some other URL :

Add following code inside your .htaccess file:

Redirect http://www.sample.com/old http://www.sample.com/newurl

Leave a Reply

Your email address will not be published. Required fields are marked *