Previous Thread
Next Thread
Print Thread
Rate Thread
#210342 04/26/2001 8:06 PM
Joined: Jul 2000
Posts: 82
Member
Member
Offline
Joined: Jul 2000
Posts: 82
This is perhaps a bit off topic but... There can be confusion caused if somone logs into forums by going to http://www.mysite.com/ and then later returns to http://mysite.com/ because the browser won't send the cookie back. I want to embed some javascript in the main page to make sure that either everyone always uses the www or everyone always omits it (if they try to go to the wrong one the browser gets redirected to the right one).

Now the question: Is it better to direct everyone to http://www.mysite.com/ or http://mysite.com/? I'm tempted to go with http://mysite.com because it is shorter, but I see that Ebay redirects to http://www.ebay.com. Is there some advantage to doing it the Ebay way (e.g. could there be trouble if a http://ads.mysite.com is added later--I don't know how these work), or is it arbitrary? Thanks.

Bill Dimm, MagPortal.com - [:red]free feeds for your site.

Sponsored Links
Joined: Apr 2001
Posts: 27
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 27
Yesterday I looked at the cookie documentation and wrote a post about that (bottom).

If the cookie domain would be set to mysite.com instead of www.mysite.com it should work for both with and without the www and you do not need any forwarding.

nòóx

Downhill Rangers

hPm #210344 04/27/2001 5:59 AM
Joined: Jul 2000
Posts: 82
Member
Member
Offline
Joined: Jul 2000
Posts: 82
I've posted a reply on the other thread. The domain= stuff just doesn't work.

Bill Dimm, MagPortal.com - [:red]free feeds for your site.

Joined: May 1999
Posts: 242
Coder
Coder
Offline
Joined: May 1999
Posts: 242
Not getting into the code, I'd suggest using the www.mysite.com. Even though omitting the www is shorter, even novice computer users can spot that www immediately, and it's becoming even more common to have that at the beginning. Having an address like myth.jccc.net really can cause some confusion for some of my newbies. []/testimages/icons/crazy.gif[/]

Just a perspective from someone who is www-less. []/testimages/icons/wink.gif[/]



[]/testimages/icons/smile.gif[/] 6 []/testimages/icons/frown.gif[/]
Screamers

Joined: Jul 2000
Posts: 82
Member
Member
Offline
Joined: Jul 2000
Posts: 82
Thanks for the reply. I think your situation is a bit different though. When someone sees http://myth.jccc.net they could easily think that http://jccc.net or http://www.jccc.net are part of the same site.

In my case the user can enter http://SaveTheFreeWeb.com or http://www.SaveTheFreeWeb.com and they wind up at the same location either way, it's just a matter of whether or not they see a "www" in the URL where they really wind up. One added argument for stripping the www is that it makes the URL more easily fit into the little location box in the browser. I'm a little surprised that you say having a www is becoming more common. Tim Berners-Lee admitted the www was a bad design decision--I figured people would gradually migrate away from it if there was no technical problem with doing so.

Bill Dimm, MagPortal.com - [:red]free feeds for your site.

Sponsored Links
Joined: May 1999
Posts: 242
Coder
Coder
Offline
Joined: May 1999
Posts: 242
Well I say www is becoming more common from a complete newby perspective. The addresses I see on TV on both commercials as well as advertising for movies and whatnot nearly always list a URL at the bottom of the screen and the URLs that don't contain www are far and very few between. I surf quite a bit and if I glance at a URL that I have to type in manually, I'm sometimes taken off guard if it doesn't begin with www. Perhaps I'm not visiting the right locations or noticing the right commercials. My perception has been the www has become standard and a lot of businesses are sticking with it for fear of having an 'obscure' and forgettable address. I have no access to statistics though so perhaps there's a trend to move away from this www business that I am not privie to or have not noticed.

My perception is certainly not fact, perhaps others are getting used to omitting the www from addresses and such. But I don't see it myself. []/testimages/icons/smile.gif[/]



[]/testimages/icons/smile.gif[/] 6 []/testimages/icons/frown.gif[/]
Screamers

Joined: May 1999
Posts: 242
Coder
Coder
Offline
Joined: May 1999
Posts: 242
Now that I say that, I just visited the stratics.com forum. []/testimages/icons/smile.gif[/] Perhaps I'm seeing what I want to, who knows. []/testimages/icons/crazy.gif[/]

[]/testimages/icons/smile.gif[/] 6 []/testimages/icons/frown.gif[/]
Screamers

Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
Joined: May 1999
Posts: 624
My instinct has always been to go for the short version minus the useless, space-wasting, difficult-to-pronounce, "www" but didn't you conclude in your other thread that for cookie purposes it was the best bet?

[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Joined: Jul 2000
Posts: 82
Member
Member
Offline
Joined: Jul 2000
Posts: 82
Actually, cookie-wise I don't think it matters. If you go to http://mysite.com and get cookied, then go to http://www.mysite.com the cookie won't get sent (I believe it is the same if you switch the ordering too). I don't know if it's the same in all browsers, but that's the way it works in Netscape 4.7 (I just tried it).

Bill Dimm, MagPortal.com - [:red]free feeds for your site.

Joined: May 1999
Posts: 624
Master Hacker
Master Hacker
Offline
Joined: May 1999
Posts: 624
Another brite idea bites the dust...

[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)