HOW TO: Set up .htaccess redirect

Last modified: February 25, 2020
You are here:
Estimated reading time: < 1 min
.htaccess redirect set up

Use the following line below in your .htaccess file:

Redirect 301 /example/test.html http://<your-new-redirect-sites>

e.g = www.newdomain.com/example/newpage.html

“Redirect 301” for a permanent redirect.

“Redirect 302” for a temporary redirect.

By default the system will choose “Redirect 302”, if it is not otherwise specified.

Was this article helpful?
Dislike 0
Views: 23
Customer Services Contact

Need Help? Send a Ticket to our 24X7 Technical Support Team

Subtitle
Subscribe Newsletter

Subscribe to Casbay Newsletter for online tips, events and latest promotion !

Copyright © 2010 – 2020 Casbay Sdn. Bhd. (1042688-D). All Rights Reserved.

All Trademarks Are The Property of Their Respective Owner.