Forums

[resolved] the www and non www version of my WP site are different! (3 posts)

  1. mark.desrev
    Member
    Posted 5 months ago #

    Hi All,
    I have a strange problem with my wordpress site.
    http://guitardesignreviews.com and
    http://www.guitardesignreviews.com
    have become different.

    The non-www one is up to date, the other not. I thought I had re-directed people from the www to non-www for the last few months but now it seems like it isn't so and the site is different suddenly!
    I've told Google Webmaster Tools to ignore the www version, but sometimes people type it in like that. And JustHost are helping, I think, but they misunderstood the problem twice already (I asked them to 301 redirect all www. requests to the non-www version).

    What can I do? Why do I have this slightly different shadow site? Thanks, Mark

  2. mark.desrev
    Member
    Posted 5 months ago #

    This is an update. I've noticed if I am not logged in to the site as an admin (or user or whatever) then I get the old version of the page which has a Gibson SG story at the top. The page should have an article called "The Tone Chain" at the top. However this article can be found via the search function on the page... It just won't appear on the front page. What is happening? Help!

  3. mark.desrev
    Member
    Posted 5 months ago #

    I've had this problem fixed now, thanks for reading. These lines were inserted into my .htaccess file, seems to have done the trick. Don't include the --cut-- lines!
    ------------------cut-------------------
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
    RewriteRule ^(.*) http://%1/$1 [R=301,L]
    ------------------cut-------------------

Reply

You must log in to post.

About this Topic