Redirecting Domains
-
Hi Everybody,
My clients owns a lot of domains related to his website.
I redirected them to the website.
So his website is: www.vallnord.com
but if you type Vallnordski, vallnordsnow, etc etc they will go to the website, but they will not change the url and will keep vallnordski, vallnordsnow instead of going to vallnord.com
Not very clear actually, so if you have 20 seconds to type them you will see it very clear.
I was wondering if this was a good practice or it is better to actually redirect someone completely (If they type vallnordski.com take them to vallnord.com)?
Is redirecting a good SEO practice?
Regards,
Guido.
-
if i am not wrong you should use a 301 Redirect
regards,
-
Yes - you need the 301 redirect - to do it - open or create the .htaccess file in the root of your site and type the following within the mod_rewrite section (if you already have one or if not then create one like so):
<ifmodule mod_rewrite.c="">Options +FollowSymLinks
RewriteEngine on
RewriteBase /RewriteCond %{HTTP_HOST} !^www.vallnord.com$ [NC] [AND]
RewriteCond %{HTTP_HOST} !^(.).vallnord.com$ [NC]
RewriteRule ^(.)$ http://www.vallnord.com/$1 [R=301,L]</ifmodule>This way any domain that is now www.vallnord.com will be automatically redirected to it (permanently as 301).
To answer your question in full - yes - it is a good practice to redirect someone - you should always try to do your SEO campaign pointing to just one domain - even if you have a number of different ones pointing to it - as long as you use permanent redirection (301) you'll be fine.
I hope this helps you solve the problem.
-
I just did it. but now if I type vallnordski.com I get a 500 server internal error.
I added only:
RewriteCond %{HTTP_HOST} !^www.vallnord.com$ [NC] [AND]
RewriteCond %{HTTP_HOST} !^(.).vallnord.com$ [NC]
RewriteRule ^(.)$ http://www.vallnord.com/$1 [R=301,L]At the beggining of the mod rewrite section
Any idea why this might not work?
Thanks!
-
Sorry - you most probably did it right, but just to confirm - did you put it after RewriteBase / etc.? Can you paste the whole mod_rewrite block here?
-
Hi Guido,
It seems none of the domains you mentioned are now working. You should return everything to the way it was before so that your client's sites are operable and then we can start over to resolve your problem.
Incidentally, what just happened sounds slightly familiar to me. Are you using an Apache server?
Sha