| | #1 |
| Member Join Date: Mar 2007 Location: Vancouver
Posts: 83
![]() | 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. |
| |
| | #2 |
| Super Moderator ![]() ![]() | Normally, if i don't put the www infront of the domain, it does it automagically.. |
| |
| | #3 |
| Groupie | 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. ) |
| |
| | #4 |
| Member Join Date: Mar 2007 Location: Vancouver
Posts: 83
![]() | I was told to change the cookie 'domain' and it worked for me when I tried it. |
| |
| | #5 |
| The Webmaster ![]() | 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]
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - The Largest LucasArts Gaming Community on the Internet To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - tell me your comments! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - Your #1 place to discuss all things World of Warcraft. |
| |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
