Page 1 of 1

Reference to a renamed website

Posted: 2015-10-03 19:41
by Historynutzo
I would like to rename my website but cannot figure out how to do it. The index file is the main webpage reference, but how can I have the user jumped over to the new name? For example; the index file now goes to <domain A>. I want to change it to <domain B>. How do I go from the <domain A> index file to the new <domain B> index file?

Re: Reference to a renamed website

Posted: 2015-11-11 11:33
by minstudenterkorsel
You can do it within the .htaccess file with a 301 permanent redirect.

Code: Select all

Example:
## enable rewrites
    Options +FollowSymLinks
    RewriteEngine on
	
# Permanent URL redirect
Redirect 301 /xxx/xxx.php http://example.com/xxx.php