malhyp
03-03-2009, 12:51 AM
Hi there we have had a sine online for a few years now and recently ran a report on our domain which came up with the following.
-----------------------------------------------------------
Permanent Redirect Not Found
Search engines may think www.xxxxxxxxxx.com.au and xxxxxxxxxx.com.au are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites.
For example, www.xxxxxxxxxx.com.au seems to have 413 inbound links whereas xxxxxxxxx.com.au has 412 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.
-----------------------------------------------------------
I found both of the following htaccess recirects but don't understand how the work exactly.
Can anyone suggest which is the best way to go for us?
1:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.tld$
RewriteRule (.*) http://www.yourdomain.tld/$1 [R=301,L]
2:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.old-domain\.tld$
RewriteCond %{HTTP_HOST} ^old-domain\.tld$
RewriteRule (.*) http://www.new-domain.tld/$1 [R=301,L]
I suppose one of the things that I don't understand is. Do i need to setup two redirects?
E.g: xxxxx.com to www.xxxx.com.au and verse visa?
Help & Cheers
-----------------------------------------------------------
Permanent Redirect Not Found
Search engines may think www.xxxxxxxxxx.com.au and xxxxxxxxxx.com.au are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites.
For example, www.xxxxxxxxxx.com.au seems to have 413 inbound links whereas xxxxxxxxx.com.au has 412 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.
-----------------------------------------------------------
I found both of the following htaccess recirects but don't understand how the work exactly.
Can anyone suggest which is the best way to go for us?
1:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.tld$
RewriteRule (.*) http://www.yourdomain.tld/$1 [R=301,L]
2:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.old-domain\.tld$
RewriteCond %{HTTP_HOST} ^old-domain\.tld$
RewriteRule (.*) http://www.new-domain.tld/$1 [R=301,L]
I suppose one of the things that I don't understand is. Do i need to setup two redirects?
E.g: xxxxx.com to www.xxxx.com.au and verse visa?
Help & Cheers