i recently got a different domain from the .co.nr one i originally started my site with which is .co.cc
The thing is that i was reading that having more than one domain pointing to the same content is considered bad by search engines. i started with the old domain so i dont want to take it offline cause people will still use this but i want to use the new domain because I dont have to use cloaking anymore and i have the real titles of my pages that get displayed.
What i did was to have a re-direct to my .co.cc domain from the .co.nr, is this ok? the co.nr re-directs to .co.cc which points to my hosting at frihost. With this setup I hope this is not seen as duplication, otherwise is there any alternatives i could use? I dont want to be penalised but I think I should be able to use both domains, no?
If u go with 301 redirection, then its Ok and doenst seems to do much harm for your site..
| georgekalathil wrote: |
| If u go with 301 redirection, then its Ok and doenst seems to do much harm for your site.. |
sorry but what is a 301 redirection?
It means that the site has been permanently moved. Its a type of redirection that carrys an error message. The end user doesn't normally realize they are being redirected, but search engines will see the 301 and know the sites been moved.
| zellfaze wrote: |
| It means that the site has been permanently moved. Its a type of redirection that carrys an error message. The end user doesn't normally realize they are being redirected, but search engines will see the 301 and know the sites been moved. |
thanks for your answers so far guys! ok so the next question would be how can i make a 301 redirection? is there a special tag you have to put in your html? or is it something you configure in direct admin?
I think you can use Site Redirection in DirectAdmin. I have never used it so don't know if it works.
If you use php you can add the code:
| Code: |
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: http://www.new-url.com" ); |
http://www.new-url.com should be change to the url you want to redirect to. But then you have to put this into all the old pages you want to redirect from.
It better to use .htaccess to redirect the whole domain.
| Code: |
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.old-domain.net$ [NC]
RewriteRule ^(.*)$ http://www.new-domain.net/$1 [R=301,L] |
| Peterssidan wrote: |
I think you can use Site Redirection in DirectAdmin. I have never used it so don't know if it works.
If you use php you can add the code:
| Code: | header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: http://www.new-url.com" ); |
http://www.new-url.com should be change to the url you want to redirect to. But then you have to put this into all the old pages you want to redirect from.
It better to use .htaccess to redirect the whole domain.
| Code: | RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.old-domain.net$ [NC]
RewriteRule ^(.*)$ http://www.new-domain.net/$1 [R=301,L] |
|
the php solution is working now but i can not get the .htacess method to work. is there something special that i need to do?
i have heard tht it is both good and bad... but it depends on how u use them.....
there r a lot of seo articles on this topic
search google...
| manav wrote: |
i have heard tht it is both good and bad... but it depends on how u use them.....
there r a lot of seo articles on this topic
search google... |
i will search google, thanks for your advice...