1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Knowledge base How can I have my standard homepage (or any other web page) redirected to adifferent page, or another website?
How can I have my standard homepage (or any other web page) redirected to adifferent page, or another website?
Actions to be carried out
Paste this line of code between the <head> and </head> tags of your index page. Replace Time with the time in seconds or 0so that redirection occurs immediately:
<META http-EQUIV="Refresh" CONTENT="Time; url=http://www.abc.com">
header( 'Location: http://www.abc.com' ) ;
.htaccess redirectionThis setting will redirect absolutelyall the traffic sent toyour site (whatever the page is called) towards another address. Here arethe rules to insert into the .htaccess file in /web:
RewriteRule ^(.*)$ http://www.abc.com/$1 [R=301]
Link to this FAQ: