Description and title not right because my site adds www. in front

Discussion in 'Google' started by esheena1, Aug 8, 2013.

  1. #1
    Hello, so I made my website add www. in front of the homepage url and it is causing my website to not use the description and site title I gave it. Apparently there is a fairly big difference between www. and not. Is there anyway I can make my site naturally be www. so the redirect is the "actual site". I hope you guys understand. Thanks
     
    esheena1, Aug 8, 2013 IP
  2. Lexy

    Lexy Well-Known Member

    Messages:
    51
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    #2
    If I understand it right, the www and no-www version that are not the same websites, right? Or is it just the problem with description and title?

    You should set 301 redirect from no-www to www address. Create .htaccess (no extention needed!) file with the content below (just change the address of your website) and upload it to the main folder:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
    Code (markup):
    Then just need to wait until Google re-indexes your website and see the redirection. It will also remove all results from the no-www domain and replace them with new addresses.
     
    Lexy, Aug 8, 2013 IP
  3. esheena1

    esheena1 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Sorry for not being clear. I already set that exact redirect for my website and that is whats causing my problem. For some reason, when you put in www.survivebio.com, the old site title shows up. But when I remove the redirect and type in survivebio.com, the new title comes up and thats what I want. This is also causing my site to show the old description and title in google and I really want to fix it. Is there anyway that I can make joomla recognize that my site is www.survivebio.com so that the global configuration applies to it and not just survivebio.com? Thanks
     
    esheena1, Aug 9, 2013 IP