Computing.Net > Forums > Web Development > non www version of my site

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

non www version of my site

Reply to Message Icon

Name: VictoriaC
Date: June 21, 2009 at 22:41:03 Pacific
OS: Windows Vista
CPU/Ram: 2 GB
Subcategory: General
Comment:

Hi,
I'm a bit stuck with my website:
http://www.christopherchalets.co.uk
that is working ok but when I type in http://christopherchalets.co.uk IE tells me that it cannot display it.
I wanted to do a 301 redirect to improve my google ranking but I can't even find my 'non www' version on the net.
If someone can tell me what I should be doing that would be so helpful as I am totally stuck.



Sponsored Link
Ads by Google

Response Number 1
Name: RTAdams89
Date: June 21, 2009 at 23:15:30 Pacific
Reply:

You should create a .htaccess fiel in the root of your web folder and incldue this in it:

RewriteEngine On
RewriteCond %{HTTP_HOST} !www.christopherchalets.co.uk
RewriteRule ^.*$ http://www.christopherchalets.co.uk %{REQUEST_URI} [R]

-Ryan Adams
Free Computer Tips and more:http://RyanTAdams.com

Paid Tech Support: Black Diamond


0

Response Number 2
Name: VictoriaC
Date: June 22, 2009 at 00:31:50 Pacific
Reply:

Hi
I just tried that but now I am getting for my www. site:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@christopherchalets.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.christopherchalets.co.uk Port 80

I am getting the same 'cannot dispay the page' for the non www. site.
so I'm going to delete the file and hopefully the www version will come back!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


upload speed How do I delete specific ...


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: non www version of my site

what do you think of my site? www.computing.net/answers/webdevel/what-do-you-think-of-my-site/3173.html

Please help me my site has viruses www.computing.net/answers/webdevel/please-help-me-my-site-has-viruses-/2494.html

how to put my site to search engine www.computing.net/answers/webdevel/how-to-put-my-site-to-search-engine/558.html