Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-05-2009, 09:01 PM   #1
SEO IS EASY...
War Room Member
 
Danny Cutts's Avatar
 
Join Date: Jan 2006
Location: Middleton On Sea, United Kingdom.
Posts: 1,699
Thanks: 212
Thanked 116 Times in 82 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via AIM to Danny Cutts Send a message via MSN to Danny Cutts Send a message via Skype™ to Danny Cutts
Default This has me confused

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

Danny Cutts is offline   Reply With Quote
Old 10-05-2009, 09:42 PM   #2
Enlightened Warrior
War Room Member
 
jaggyjay's Avatar
 
Join Date: Nov 2007
Location: New York, USA.
Posts: 538
Thanks: 12
Thanked 95 Times in 70 Posts
Default Re: This has me confused

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

jaggyjay is offline   Reply With Quote
Old 10-05-2009, 09:47 PM   #3
John Schwartz
War Room Member
 
Zeus66's Avatar
 
Join Date: Jul 2008
Location: Near Dallas, TX, USA
Posts: 3,691
Thanks: 1,620
Thanked 3,245 Times in 1,140 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: This has me confused

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

Zeus66 is offline   Reply With Quote
Old 10-05-2009, 10:39 PM   #4
Warrior Member
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: This has me confused

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.
Rizope is offline   Reply With Quote
Old 10-05-2009, 10:44 PM   #5
SEO IS EASY...
War Room Member
 
Danny Cutts's Avatar
 
Join Date: Jan 2006
Location: Middleton On Sea, United Kingdom.
Posts: 1,699
Thanks: 212
Thanked 116 Times in 82 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via AIM to Danny Cutts Send a message via MSN to Danny Cutts Send a message via Skype™ to Danny Cutts
Default Re: This has me confused

Hello All,

it was the proganation thingy... thank god!

All sorted now works a treat

Danny

Danny Cutts is offline   Reply With Quote
Old 10-05-2009, 10:53 PM   #6
Senior Warrior Member
 
Join Date: Jan 2009
Location: Oregon
Posts: 1,196
Thanks: 3
Thanked 69 Times in 61 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: This has me confused

You can use htaccess commands to redirect the non-www version to your www version. Look up the documents for RewriteRule for more information on how to do this.

Traffic-Bug is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
confused

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 12:48 AM.