Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,917 Members
165,164 Posts
57 Users Online

Please welcome our newest member, clairlim!

Affiliates
Go Back AdminFusion » Getting Started » Domains and Hosting » To use www prefix or not?
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 12-22-2007, 02:03 PM   #1

Canadian's Avatar

Title: Member

Points: 1,104, Level: 8Points: 1,104, Level: 8Points: 1,104, Level: 8
Level up: 9%, 46 Points neededLevel up: 9%, 46 Points neededLevel up: 9%, 46 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Mar 2007

Posts: 79

Location: Vancouver

Canadian is on a distinguished road
 
 
To use www prefix or not?

I think it may be something to do with domain or maybe server?????? I really do not know.

I have a couple members mentioning when they go to the site if they use just the http:// (no 'www' prefix) they have to log in again , however if they use the 'www' in front of the url they are automatically logged in.

Does anyone know an answer to this?

I never thought it was an issue or difference when one surfed the net. But maybe their is a reason?

This forum I am using 'MyBB' but I can't see that the forum software would have anything to do with this.

The site is being hosted by go daddy, so I was wondering if their is a way maybe to redirect the non 'www' to the url with the 'www' prefix?

Any thoughts would be greatly appreciated.

I never noticed this before as I always use the www prefix when I go to that forum.
Reply With Quote
Old 12-22-2007, 02:26 PM   #2

Flashgear's Avatar

Title: Forum Addict

Points: 6,682, Level: 24Points: 6,682, Level: 24Points: 6,682, Level: 24
Level up: 25%, 368 Points neededLevel up: 25%, 368 Points neededLevel up: 25%, 368 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 1,357

Location: United Kingdom

Flashgear is on a distinguished road
Send a message via ICQ to Flashgear Send a message via MSN to Flashgear  
 
Normally, if i don't put the www infront of the domain, it does it automagically..
Reply With Quote
Old 12-22-2007, 02:58 PM   #3

Title: Rookie

Points: 541, Level: 5Points: 541, Level: 5Points: 541, Level: 5
Level up: 6%, 9 Points neededLevel up: 6%, 9 Points neededLevel up: 6%, 9 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Aug 2007

Posts: 15

Location: Canada (ON)

angieskidney is on a distinguished road
Send a message via Yahoo to angieskidney Send a message via Skype™ to angieskidney  
 
Okay so I am at this link not logged in: Kidney Friends

I go to click "Login" and when I mouse over to click it I notice it is Kidney Friends - Login (notice the www? Even though I am on the non-www link??)

Now another clue is that when I am logged in I am in the green theme. When I am NOT logged in I am in the blue theme. What is interesting is I am not logged in on the non-www link so it is blue but once I click that login link which IS Kidney Friends - Login the next page that comes up which comes up as Kidney Friends - Login and has the spot to enter Username and Password .. the page is green and already says welcome Angie at the top of the page. (*** I repeat the above steps again later but from this point do something different. I will post it at the end)

As soon as I enter in my info then I am brought to this page http://www.kidney-friends.net/member.php for a matter of maybe 5 seconds which says "You have successfully been logged in.
You will now be taken back to where you came from." and it is green, .. but then I am switched back to the blue page and not logged in and notice it is not a www link again.

So maybe the problem is that the non-www pages and the www pages are linking to each other throwing things off for some people??

(*** When I try again and am at the Kidney Friends - Login page which has the spot to enter Username and Password .. the page that is green and already says welcome Angie at the top of the page, THIS time I decided to not put in my login and pass but just clicked where it says "new posts" since my name is at the top of the page .. and guess what? I am logged in and the page is the green one I have and without putting my info and I can read all posts... interesting. )
Reply With Quote
Old 12-22-2007, 07:47 PM   #4

Canadian's Avatar

Title: Member

Points: 1,104, Level: 8Points: 1,104, Level: 8Points: 1,104, Level: 8
Level up: 9%, 46 Points neededLevel up: 9%, 46 Points neededLevel up: 9%, 46 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Mar 2007

Posts: 79

Location: Vancouver

Canadian is on a distinguished road
 
 
I was told to change the cookie 'domain' and it worked for me when I tried it.
Reply With Quote
Old 12-22-2007, 08:06 PM   #5

Moelman's Avatar

Title: I went to buy some shoes - and I came back with Life On Mars

Points: 14,787, Level: 36Points: 14,787, Level: 36Points: 14,787, Level: 36
Level up: 37%, 63 Points neededLevel up: 37%, 63 Points neededLevel up: 37%, 63 Points needed
Activity: 100%Activity: 100%Activity: 100%

Join Date: Feb 2006

Posts: 3,034

Location: Michigan, US

Moelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond reputeMoelman has a reputation beyond repute

Send a message via AIM to Moelman  
 
You should pick one or the other, whichever you prefer, and do an .htaccess edit so that if users go to the other one they are taken to the one you chose.

This code should work to force www:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.yourdomain.com$
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301]
This will also fix the cookies problem since they can only access it through one of the ways.
__________________
World of Warcraft Forums - Your #1 place to discuss all things World of Warcraft.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

AdminFusion

All times are GMT +1. The time now is 10:15 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72