How do I set up a 301 redirect?
A 301 redirection can be generated by inserting a .htaccess file.
In www/htdocs directory you will need to create a .htaccess file and include following code:
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ http://www.newdomainname.com.au/$1 [L,R=301]
*Please substitute www.newdomainname.com.au in the code with your target domain name.
Updated 2 months ago