Is "301 Permanent Redirection" a must ?

Aussie-Dave

Former AGD Member
Joined
Nov 24, 2007
Messages
684
Reaction score
3
How long is a piece of string?

Your question is ambiguous...Is the redirect a permanent URL /domain change or a temporary one?

If URL's, are they static or dynamic?

Provide as much information about your problem and people will be more able to assist you, because they'll have a reasonable understanding of what your wanting to achieve.


Cheers

:)

Dave
 
Last edited:

casinorecommender

Casino Recommender
Joined
Jun 20, 2011
Messages
29
Reaction score
0
Hi Aussie and friends

Sorry for not clearing the issue. I would like to make a permanent redirection of:

www casinorecommender dot com >>> casinorecommender dot com

because of Google SEO issue. In order not to be crawled for duplicated content. As far as i know it is a 301 redirection but as i am not advanced in this area i can not give you an exact information. I have read in the forums that it can be done through modifiying DNS settings. My url is

Thanks a lot for your valuable help
 

bestuscasino.net

New Member
Joined
Feb 9, 2010
Messages
2
Reaction score
0
Hi
All the info for google/301 redirects are here:
google.com/support/webmasters/bin/answer.py?answer=93633

GL
 

michael26a

Affiliate Guard Dog Member
Joined
Jul 7, 2009
Messages
150
Reaction score
1
It's not essential to do this, but its certainly better for SEO purposes. In nearly all cases, both versions of your website http:// and http://www will have links pointing to them. Its better to redirect the weaker version to the stronger one (the version with more links)

Before you do this, you should always check in Google which version it has already chosen for you e.g. site:website.com.

If the results come back as Google having indexed your pages as www, then you should redirect http:// to www. If the opposite is true (Google has indexed your pages as http://yourdomain.com, then you should redirect from www to http://.

For your example, you will have to insert the following code into your .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.casinorecommender.com
RewriteRule ^.*$ http://casinorecommender.com%{REQUEST_URI} [R=301,L]

Good luck :)
 
Last edited:

Aussie-Dave

Former AGD Member
Joined
Nov 24, 2007
Messages
684
Reaction score
3
www casinorecommender dot com >>> casinorecommender dot com

Hi Mate,

As Michael has pointed out this is the best way to accomplish:

For your example, you will have to insert the following code into your .htaccess file:

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.casinorecommender.com
RewriteRule ^.*$ http://casinorecommender.com%{REQUEST_URI} [R=301,L]

If however your changing a URL of the same domain.

You would use a 301. EG (exclude yyy):
redirect 301 /somepagename.html to yyyhttp://www.casinorecommender.com/anotherpagename.html

Can also be used for:
redirect 301 /somepagetcategory/ to yyyhttp://www.casinorecommender.com/anotherpagcategory/

You can also use a 301 to change to another domain:
redirect 301 yyyhttp://www.casinorecommender.com/ to yyyhttp://www.yournewdomain.com

I use this but some servers I've used require the trailing slash yyyhttp://www.yournewdomain.com/
For some reason :confused: without the "/" it produces a 500 internal error.


Cheers

:)

Dave
 
Last edited:
Top