Buy Sell Discuss UK Domain Names at AcornDomains.co.uk affiliate window

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 01:52:22 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design
Connect with Facebook

Website Design Discuss web design

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-01-2012, 12:29:15 PM     #1 (permalink)

 
cc976a's Avatar
 
Join Date: Jun 2007
Posts: 1,301
cc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond repute

Redirection

I'm very slow out of the blocks on this one but want to start redirecting my non www. domain to my www. domain (i.e. mywidgets.co.uk to www.mywidgets.co.uk)....

....but what one do you link to the other?

Is it based on what Google shows in your SERP as being the main - or which one sends most visitors to your site from analytics tools - or is there another way of working this out ??
cc976a is offline  
Old 12-01-2012, 03:32:05 PM     #2 (permalink)
js1

 
Join Date: Jan 2011
Posts: 171
js1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond repute

If you want to create one url in the serps (addressing any duplicate pages / canonical issues from the non www.) And also ensure the value from any links going to the non www. Go to your sites home page of http://www.mywidgets.co.uk/ you need to create a 301 redirect.

First thing I would do is speak to your host and ask them if the server can handle a 301 redirect via a htaccess file (ensuring the RewriteEngine is switch on etc).

If you site is hosted on a linux server open notepad and create a file called .htaccess the below code should do the trick (replacing the mywidgets.co.uk with your site name).

Code:
Options +FollowSymLinks
RewriteEngine on

RewriteCond %{HTTP_HOST} ^mywidgets\.co.uk [NC]
RewriteRule (.*) http://www.mywidgets.co.uk/$1 [R=301,L]
If not try

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /

RewriteCond %{HTTP_HOST} ^mywidgets\.co.uk [NC]
RewriteRule (.*) http://www.mywidgets.co.uk/$1 [R=301,L]

I would test this on a test site on the same server first
not your main site once the .htaccess file has been added, clear all history in your browser and refresh the page etc.


If you sites files are built in html your might want to also 301 redirect the index.html pages i.e
http://www.mywidgets.co.uk/index.html to http://www.mywidgets.co.uk/

Add the below to the above to 301 redirect all files ending in index.html to /

Code:
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.mywidgets.co.uk/$1 [R=301,L]
You should also do a http header check to ensure it is redirecting probably (and ensure it is a 301 redirect) as you don’t want to block your site if something is a miss, hence testing on a test site on the same server etc.

try

http://www.rexswain.com/httpview.html

or

http://web-sniffer.net/

Last edited by js1; 12-01-2012 at 04:04:15 PM.
js1 is offline  
Old 12-01-2012, 04:42:52 PM     #3 (permalink)

 
cc976a's Avatar
 
Join Date: Jun 2007
Posts: 1,301
cc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond repute

Many thanks for all this - very much appreciated. Will certainly come in useful

Anyone any thoughts on which way round to do the redirection (www to non www or vice versa)?
cc976a is offline  
Old 12-01-2012, 04:51:45 PM     #4 (permalink)
js1

 
Join Date: Jan 2011
Posts: 171
js1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond reputejs1 has a reputation beyond repute

Quote:
Originally Posted by cc976a View Post
Many thanks for all this - very much appreciated. Will certainly come in useful

Anyone any thoughts on which way round to do the redirection (www to non www or vice versa)?
Are there links pointing to the site? if so to which url non www. or the www. ?

Is the non www. or the www. indexed in google?

Do you have a google webmaster tools account what does that say? have you set what url you want there? Have added a xml site map there with the correct urls?

How does you site link to its pages?

Last edited by js1; 12-01-2012 at 05:17:23 PM.
js1 is offline  
Old 12-01-2012, 04:56:39 PM     #5 (permalink)

 
cc976a's Avatar
 
Join Date: Jun 2007
Posts: 1,301
cc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond reputecc976a has a reputation beyond repute

I don't have all the answers as of now but I understand from your questions the relevance should be based on incoming links and Google's ranking URL - treat that as main and redirect the other.

I imagined this would be the case but wanted to make sure there was nothing crucial I'd missed

Thanks again mate
cc976a is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Domain Name Redirection - Web Hosting and Domain Name News (blog) RSS Domain Name News 0 31-01-2010 12:59:04 PM
URL Redirection Problem rch1234 Services Wanted 5 21-06-2007 07:56:21 AM
DNS Software delivers provider-controlled error redirection. - ThomasNet Industrial News Room (press release) RSS Domain Name News 0 07-06-2007 02:59:03 PM
Increase Your Website Traffic With Expired Domains And Redirection ... - Business Portal 24 (press release) RSS Domain Name News 0 04-04-2007 12:59:08 PM

Web Hosting from UK2 from just 99p


All times are GMT. The time now is 01:52:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".