Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
Reflects user activity within the last 5 minutes
Member Message

cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 01/02/2007 09:05 am
Edit Message Delete Message Reply to this message

Hi

I'm not sure if this is the right forum to place this topic, but it's as close as I could find.

Someone told me that my website is returning a 200 status for www. and non www. pages.

Does anyone know what that means, and how to fix it?

Thanks in advance.



Hampstead
Joined: Feb 20, 2001
# Posts: 2007

View the profile for Hampstead Send Hampstead a private message

Posted: 01/02/2007 11:02 am
Edit Message Delete Message Reply to this message

You only want to get one version of the site indexed. The www and the non www version are seen as 2 sites with the same content.

The 200 status shows the search engines that the site is being correctly served. What you need tough is a 200 on only one version and a 301 on the other. Typically the non www version is redirected by way of a 301 redirect to the www version.

There are different ways of doing this depending on what platform you are hosted. What hosting platform are you on?



cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 01/02/2007 11:10 am
Edit Message Delete Message Reply to this message

Hi

Thanks for a quick reply, and for helping me to understand! They told me what it was doing, but not what it meant!

What do you mean exactly by hosting platform?

Thanks, I appreciate it!

[ Message was edited by: cajuns 01/02/2007 01:35 pm ]





Hampstead
Joined: Feb 20, 2001
# Posts: 2007

View the profile for Hampstead Send Hampstead a private message

Posted: 01/02/2007 02:25 pm
Edit Message Delete Message Reply to this message

I need to know whether you are hosted on a Windows or Unix/Linux server.

IS it the site in your profile?



cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 01/02/2007 04:24 pm
Edit Message Delete Message Reply to this message

Oh, okay, sorry, yes it is the site in my profile.

Thanks





Hampstead
Joined: Feb 20, 2001
# Posts: 2007

View the profile for Hampstead Send Hampstead a private message

Posted: 01/03/2007 02:33 am
Edit Message Delete Message Reply to this message

In that case you are hosted on Unix/Apache.

You need to locate (or create) on your server a file called .htaccess and add the following code:

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^cajuncookingrecipes.com [nc]
rewriterule ^(.*)$ http://www.cajuncookingrecipes.com/$1 [r=301,nc]



cajuns
Joined: Apr 10, 2006
# Posts: 104

View the profile for cajuns Send cajuns a private message

Posted: 01/03/2007 08:02 am
Edit Message Delete Message Reply to this message

Thanks so much. I wasn't quite sure on the code to add to that file. You have been a great help!

Thanks again
Cajuns


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions