FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » Domain Name

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 17-04-09, 10:16 PM
Junior Member
 
Join Date: Apr 2009
Posts: 13
Default www domain and non-www domain

I have heard that I should redirect my non-www domain to my www domain, to prevent any penalties on google.

Please can any one advise on how I go about doing this? My site is an .net asp based site hosted on the windows hosting starter package.

Thanks
Reply With Quote

  #2 (permalink)  
Old 18-04-09, 03:57 PM
Senior Member
 
Join Date: Jan 2009
Posts: 342
Default

Yes, what you have heard is true. You should 301 redirect your non-www domain to your www domain. I guess this is the only solution to do this.

The 301 redirect guides and informs Search Engine for resolving a domain name to the target location. Non-implementation of this 301 Redirect may lead to undesired and negative result for the website.
Reply With Quote

  #3 (permalink)  
Old 18-04-09, 07:08 PM
Junior Member
 
Join Date: Apr 2009
Posts: 13
Default

Is this something I do through my Plesk Control Panel? Can you advise how I actually do this 301 redirect of the domain?
Thanks
Reply With Quote

  #4 (permalink)  
Old 18-04-09, 08:01 PM
Sales Team
 
Join Date: Sep 2006
Posts: 1,664
Send a message via MSN to Harry Send a message via Skype™ to Harry
Default

Quote:
Originally Posted by liveland View Post
I have heard that I should redirect my non-www domain to my www domain, to prevent any penalties on google.
No..its not true, there wont be any penalties from Google. Also its not necessary to redirect all non-www domains for www-domains but its always recommended to redirect such domains using 301 redirect which is very SE friendly.

Quote:
Originally Posted by liveland View Post
Is this something I do through my Plesk Control Panel? Can you advise how I actually do this 301 redirect of the domain?
Thanks
Yes, you can set redirect through your Plesk control.
You can also refer following blog post about 301 directed at : 301 Redirect in ASP | Web Hosting UK | Linux Windows PHP MySQL Hosting Tutorials
__________________
UK VPS Hosting || Managed Server Hosting || Reseller Hosting
Webhosting affiliate program can make you earn upto £300 Webhosting UK Affiliate
Join our "Refer and Win" contest and win FREE Hosting package and Domain name
Reply With Quote

  #5 (permalink)  
Old 18-04-09, 11:06 PM
Junior Member
 
Join Date: Apr 2009
Posts: 13
Default

I cannot find anywhere in plesk to set this redirect up!
I've read the blog but it is about redirecting a page rather than a domain so doesn't really help.
Thanks
Reply With Quote

  #6 (permalink)  
Old 19-04-09, 11:19 AM
Senior Member
 
Join Date: Jan 2009
Posts: 342
Default

Active Server Pages (ASP)

Canonical Hostname Redirect (non-www to www):
You might have an ASP script that is executed before beginning the page output for each page. Insert this code into that ASP script.
Quote:
<%
If InStr(Request.ServerVariables("SERVER_NAME"),"www" ) = 0 Then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www."
& Request.ServerVariables("HTTP_HOST")
& Request.ServerVariables("REQUEST_URI")
Response.End
End if
%>
Hope that helps
Reply With Quote

  #7 (permalink)  
Old 27-04-09, 01:29 AM
new member
 
Join Date: Apr 2009
Posts: 1
Default

Your web host should be able to take care of this for you.
Reply With Quote

  #8 (permalink)  
Old 27-04-09, 03:28 AM
Senior Member
 
Join Date: Mar 2009
Posts: 107
Default

Thats correct, you should get in touch with your web host. Ask them to help you with this issue.
Reply With Quote

  #9 (permalink)  
Old 27-04-09, 06:15 AM
Dan's Avatar
Dan Dan is offline
Got root?
 
Join Date: Aug 2007
Location: England, UK.
Posts: 1,340
Send a message via ICQ to Dan Send a message via AIM to Dan Send a message via MSN to Dan Send a message via Yahoo to Dan Send a message via Skype™ to Dan
Default

If htaccess is enabled, you can use the following to rewrite the domain from http://blah.com to http://www.blah.com on visit. I'm not sure regarding .htaccess on Windows so I thought I'd post that anyway

Redirect http:// to http://www using .htaccess
__________________
Webhosting.UK.com || cPanel VPS Hosting || Reseller Hosting

Sales: 0808-262-0855
Support: 0800-612-8725
International: +44 191 303 8191
Reply With Quote

  #10 (permalink)  
Old 04-08-09, 06:46 AM
new member
 
Join Date: Aug 2009
Posts: 1
Default

Quote:
Originally Posted by Matt123 View Post
Active Server Pages (ASP)

Canonical Hostname Redirect (non-www to www):
You might have an ASP script that is executed before beginning the page output for each page. Insert this code into that ASP script.

Hope that helps
Hi Matt..!!

I tired with the above code, but it's not redirecting to www. Please help on this issue.

Thanks in advance.
Reply With Quote

  #11 (permalink)  
Old 05-08-09, 02:19 PM
Sales Team
 
Join Date: Sep 2006
Posts: 1,664
Send a message via MSN to Harry Send a message via Skype™ to Harry
Default

Quote:
Originally Posted by mahalakshmi.t View Post
Hi Matt..!!

I tired with the above code, but it's not redirecting to www. Please help on this issue.

Thanks in advance.
What error message you are getting after using above code ?
__________________
UK VPS Hosting || Managed Server Hosting || Reseller Hosting
Webhosting affiliate program can make you earn upto £300 Webhosting UK Affiliate
Join our "Refer and Win" contest and win FREE Hosting package and Domain name
Reply With Quote

  #12 (permalink)  
Old 05-08-09, 03:24 PM
Dan's Avatar
Dan Dan is offline
Got root?
 
Join Date: Aug 2007
Location: England, UK.
Posts: 1,340
Send a message via ICQ to Dan Send a message via AIM to Dan Send a message via MSN to Dan Send a message via Yahoo to Dan Send a message via Skype™ to Dan
Default

Quote:
Originally Posted by mahalakshmi.t View Post
Hi Matt..!!

I tired with the above code, but it's not redirecting to www. Please help on this issue.

Thanks in advance.
Is ASP installed on the server you're using?
__________________
Webhosting.UK.com || cPanel VPS Hosting || Reseller Hosting

Sales: 0808-262-0855
Support: 0800-612-8725
International: +44 191 303 8191
Reply With Quote

  #13 (permalink)  
Old 07-10-09, 08:12 PM
new member
 
Join Date: Oct 2009
Posts: 1
Default Why I think non-www is better.

Hi all, this is my first post so I'm taking the opportunity to say hi to all of you.
btw, I've read the whole thread and there is only mention of the advantage of redirecting non-www to www domains. But what about the opposite?

1st the redirection is needed otherwise the search engines will see non-www and www domains as different domains which can cause a lower serps as its looks to the search engines as duplicate content.

At the moment I'm looking for some info on domains, I will post a thread if I couldn't find the answer, and during my research I realised that non-www domains are better. Why?

To rank high for a keyword it is better to have that keyword in the url as well as in you tags. But somethimes your keyword is too long and may not be shown in whole in search results. By removing www and the "." you will save 4 charts that you can use. This is not much but my help sometimes.
Reply With Quote

  #14 (permalink)  
Old 08-10-09, 06:30 AM
IanSmithISA's Avatar
Senior Member
 
Join Date: Aug 2009
Location: Worcester
Posts: 123
Default

Good morning

What works for me is to goto Plesk and

1) Select Domains

2) Select the relevant domain

3) Select DNS Settings

4) Then add entries so that you get something similar to the attached picture.



Bye

Ian
Attached Images
File Type: jpg d1.jpg (19.6 KB, 19 views)
Reply With Quote

  #15 (permalink)  
Old 08-10-09, 08:44 AM
Hexosphere's Avatar
Senior Member
 
Join Date: Jul 2009
Location: Usually sat at this Beastie
Posts: 156
Default

Hi Liveland

Take a look at this, How to set up a 301 Permanent Redirect - which gives various advice on how to setup a 301 based on the many different platforms that are available.

The answer inevitably lies with what kind of access you have to the Windows box, if you can access the desktop and IIS, then it's configurable from there.
__________________
Hexo
-------
The man that knows how, is always working for the man that knows why
Reply With Quote

Reply

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 On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 04:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials