www removed from my url

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

www removed from my url

Post by iNfLuX » Thu Dec 09, 2004 4:02 am

URL: http://www.flynoteproductions.com/forums
Template(s) used: FI subIce
Any and all MODs: none
Do you use a port of phpBB: no
Version of phpBB: 2.0.11
Version of PHP: 4.3.8
Which database server and version: 4.0.x
Host: ipowerweb
Did someone install this for you/who: no
Is this an upgrade/from what to what: no
Is this a conversion/from what to what: no
Have you searched for your problem: yes
If so, what terms did you try: "url and change"
State the nature of your problem: below
Do you have a test account for us: no


upon installing a fresh copy of 2.0.11 i noticed the www in my url is being removed. so for example, when i go to www.flynoteproductions.com/forums it gets shortened to flynoteproductions.com/forums i tried adding in the www in the admin->config->domain name field, but still is being shortened... anyone know why this is happening and how to fix? i guess it's not a big deal, but i'd like to keep everything uniform accross my site...
Last edited by iNfLuX on Thu Dec 09, 2004 4:39 pm, edited 1 time in total.

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Thu Dec 09, 2004 5:08 am

anyone know what the deal is with this?

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Thu Dec 09, 2004 1:42 pm

help! ;)

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Thu Dec 09, 2004 4:21 pm

hmm..this seems to be some kind of bug with 2.0.11 because i just updated my other forum which had 2.0.10 on it to 2.0.11 and now it has the same problem! it constantly wants to remove the www from the url. a few times i could get it to stick... but then i cleared my history and tried it again on both forums, it started doing it again! i'm having this problem with both ie and firefox...

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Thu Dec 09, 2004 5:08 pm

so now i noticed that if i include the link right to index.php the www is not removed from the url. however, if i don't include index.php in the url (for example, i type www.flynoteproductions.com/forums/ ) it removes the www part from the url... what is the deal with this?!

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Fri Dec 10, 2004 8:01 pm

geez thanks for all the help everyone.

CLee
Registered User
Posts: 511
Joined: Fri Nov 23, 2001 2:42 pm

Post by CLee » Sat Dec 11, 2004 3:59 am

This looks like there are some mod_rewrite peramaters that strips the 'www.' from the URL. Check the .htaccess file and see what rewrite condistions are there.
Carlos Myers
A+, Network+
Member - Star Wars Roleplaying Club

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Sat Dec 11, 2004 8:04 pm

so where is this .htaccess file? i looked all over, couldn't find it...

CLee
Registered User
Posts: 511
Joined: Fri Nov 23, 2001 2:42 pm

Post by CLee » Sat Dec 11, 2004 10:18 pm

Could be anywhere from your root directory to your forum directory. You will have to use FTP in order to see it though
Carlos Myers
A+, Network+
Member - Star Wars Roleplaying Club

Curpee89
Registered User
Posts: 54
Joined: Mon Aug 23, 2004 6:42 pm
Contact:

Post by Curpee89 » Sat Dec 11, 2004 10:22 pm

Does not having the www. messing up your forum?

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Sat Dec 11, 2004 10:29 pm

^^^ no, it works just fine. it just strips the www from the url

Clee: i looked all over my site... in the main root dir of my site, the root of my public_html folder and the root of my forum... there are no .htaccess files whatsoever... could simply not having one at all cause this?

CLee
Registered User
Posts: 511
Joined: Fri Nov 23, 2001 2:42 pm

Post by CLee » Sat Dec 11, 2004 11:32 pm

It shouldn't. Not sure what is going on. Maybe it is something your host is doing that is the cause. But before checking that out, switch back to the subSilver template and see if the behavior is still the same. Then try a fresh install of phpBB 2.0.11, being sure to backup your config.php file first.
Carlos Myers
A+, Network+
Member - Star Wars Roleplaying Club

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Sun Dec 12, 2004 12:13 am

well, i'm having this "problem" on two different boards, both of which are fresh installs of 2.0.11 one of which has a custom template, the other subsilver. they are both on the same host though, which i'm guessing is the problem.

User avatar
CTCNetwork
Former Team Member
Posts: 15424
Joined: Fri Dec 19, 2003 3:50 am
Location: In that Volvo behind you!
Contact:

Post by CTCNetwork » Sun Dec 12, 2004 12:21 am

Hi,

Well, I just visited your site as per the link above and the www was not removed from the browser.

However I wuold check your forum settings as per the following. . .
Domain Name = www.flynoteproductions.com
Script Path = /forums/
Cookie Domain = .flynoteproductions.com - Note the dots
Cookie Path = /forums

Remember to clear your browser cache and cookies and restart your browser and test after doing this. If it all works - advice your members to do same...

Hope this helps,

Des. . . :wink:
Density:- Not just a measurement~Its a whole way of Life.! ! !
| Welcome! | RTFM!!! | Search! It's Easy! | Problem? | Spam? | Advice! |

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Sun Dec 12, 2004 12:51 am

when first going to the site, i cleared the entire address bar and entered "www.flynoteproductions.com/forums" my forum came up and the www got stripped. however, upon logging in, the www was added back to the url and stayed like that even after logging out. it appears that the cookie setting had no effect as this same thing happens on another board i have (fresh install of 2.0.11 using subsilver) in which i did not change any cookie settings.

Locked

Return to “2.0.x Support Forum”