Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

www prefix question

  • 04-11-2010 3:09pm
    #1
    Registered Users, Registered Users 2 Posts: 2,985 ✭✭✭


    Why do my sites have a version with the www. prefix and one without it? I'd rather all traffic went to the www. version, is there a way to ensure this happens?

    Also, does it affect my Google analytics stats? When I check it it says the tracking is installed on www.**********.com but when I search for it in Google I always find the one without the www. prefix.


Comments

  • Closed Accounts Posts: 47 silurian1980


    Essien wrote: »
    Why do my sites have a version with the www. prefix and one without it? I'd rather all traffic went to the www. version, is there a way to ensure this happens?

    Also, does it affect my Google analytics stats? When I check it it says the tracking is installed on www.**********.com but when I search for it in Google I always find the one without the www. prefix.


    I have this too. I just renewed my hosting and all of a sudden the www... does not work, only the http://...

    Concerned this affect the google rankings I've earned!


  • Registered Users, Registered Users 2 Posts: 947 ✭✭✭Shzm


    Essien wrote: »
    Why do my sites have a version with the www. prefix and one without it? I'd rather all traffic went to the www. version, is there a way to ensure this happens?

    Also, does it affect my Google analytics stats? When I check it it says the tracking is installed on www.**********.com but when I search for it in Google I always find the one without the www. prefix.

    Yes, use a 301 redirect to redirect the non-www to the www.

    A quick google will show you how to do it.


  • Registered Users, Registered Users 2 Posts: 1,213 ✭✭✭was.deevey


    you can use your .htaccess file if your are on an apache server to do this as well

    add the lines ....
    RewriteEngine On

    #Force www. prefix
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]


  • Registered Users, Registered Users 2 Posts: 342 ✭✭adm


    I have this too. I just renewed my hosting and all of a sudden the www... does not work, only the http://...

    Concerned this affect the google rankings I've earned!

    This usually means the DNS for your domain is not setup correctly. I would contact whoever controls the domain for you.


Advertisement