5 replies
Hello warriors,

Ok I have taken over the sites of my uncle I transferred them to my hosting and I installed drupal.

If I type in http:// blablabla.com the site works perfect

but if I type www. blablabla.com it doesnt!!

How the hell does that work I changed the DNS servers about 10 hours ago

Danny
#confused
  • Profile picture of the author jaggyjay
    Hi Danny,

    The problem may have to do with your host provider. It *may* be because the DNS hasn't fully propagated yet - but I doubt it. Try shooting a ticket to your host's support department and inform them of the problem.

    Also, try adding this to the top of your .htaccess file:

    RewriteEngine On
    Options +FollowSymlinks
    RewriteCond %{HTTP_HOST} ^YourDomain\.com
    RewriteRule ^(.*)$ http://www.YourDomain.com/$1 [R=permanent,L]

    I use the above for all my domains by default. It permanently redirects your domain url with or without the "www" to "http://YourDomain dot com". It should take care of your problem; although I think your server should be doing this in the first place.

    Hope this helps.

    - Jay
    {{ DiscussionBoard.errors[1250232].message }}
  • Profile picture of the author Zeus66
    Hey Oz Danny, yeah, what Jay said. Add that code to your .htaccess file in the public_html directory on the server. Should do you up right. If not, call your hosting tech support. They might have something set up at the top level to do that, but that would be weird if so.

    John
    {{ DiscussionBoard.errors[1250245].message }}
  • Profile picture of the author Rizope
    Hey Danny, what your are looking for is in your .htaccess file at about line 81.......To redirect all users to access the site WITH the 'www' prefix,
    adapt and uncomment the following: ( I could not put the example they give you in the .htaccess file because I'm a new warrior and can't post links as of yet)
    that should do it for you, I had the same problem with Drupal some time ago.
    {{ DiscussionBoard.errors[1250357].message }}
  • Profile picture of the author Danny Cutts
    Hello All,

    it was the proganation thingy... thank god!

    All sorted now works a treat

    Danny
    {{ DiscussionBoard.errors[1250372].message }}

Trending Topics