• I have a www and a non www version of my site and a lot of the functionality doesn’t work on the non www version, but does on the www version.

    It’s hosted with Go Daddy so I spoke to them but they said it was to do with the connection streams rather than the DNS files so I had to come here instead.

    Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    At Settings -> General in your blog’s Dashboard, you should commit to whether or not you’re using www or non-www and set the URLs as such there.

    Then, follow this guide to force all traffic to the undesired one to redirect to the desired one: http://www.htaccessbasics.com/force-www-nonwww-domain/

    This way, you can avoid the things that break when the domain differs slightly by only have one www or non-www site.

    Thread Starter Flloyd_User

    (@flloyd_user)

    In the dashboard it is set to the www version. I have tried both bits of code provided in the .htaccess file and they don’t work. Also, despite putting my website url into the code, it redirected the site to another site, scada.com.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try this in your .htaccess file:

    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mobiform\.co.uk [NC]
    RewriteRule (.*) http://www.mobiform.co.uk/$1 [R=301,L]
    Thread Starter Flloyd_User

    (@flloyd_user)

    No, that didn’t work either.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Check with your hosting provider. You may have a setting in your hosting account itself which is overriding this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2 versions of site and 1 doesn't work’ is closed to new replies.