The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
just moved domain names
Hi all
Is there anyway to can redirect all my old urls that is found in google to my new name ? as there all giving 404 Errors Thanks |
#2
|
|||
|
|||
You probably need to add a redirect in your .htaccess file.
RewriteRule ^old-url\.php$ http://www.example.com/new-url [R=301,L] |
#3
|
||||
|
||||
The better way is to keep your old domains's nameservers same as new one, and add it as a parked domain in cpanel.
And add this in htaccess:- Code:
RewriteEngine On RewriteCond %{HTTP_HOST} !^newdomain\.com$ RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301] |
#4
|
|||
|
|||
Quote:
RewriteEngine On RewriteCond %{HTTP_HOST} ^animeisland.co.uk$ RewriteRule ^(.*)$ http\:\/\/www\.myanimeisland\.com\/forums$1 [L,R=301] |
#5
|
||||
|
||||
Its not the same, you have edited my code. Copy paste mine.
Code:
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.myanimeisland\.co\.uk RewriteRule (.*) http://www.myanimeisland.co.uk/$1 [R=301,L] Your new domain is myanimeisland.com , and your preferance is www. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|