Print Page | Close Window

www and no-www domain in wwf

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=28715
Printed Date: 01 April 2026 at 11:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: www and no-www domain in wwf
Posted By: slog
Subject: www and no-www domain in wwf
Date Posted: 19 July 2010 at 4:36pm
Hi, I am having an issue with my forum.

I can access it with or without www before the domain name, my problem is, when it changes i have to login again.

Example:

i access using www.mydomain.com, in a post i have a link to mydomain.com/postname. It doesn't work, I need to login again.

Why does it happens? I there a fix for this thing?

thanks



Replies:
Posted By: Scotty32
Date Posted: 20 July 2010 at 6:52pm

Thats basically because the cookie is set for the 'website' (www.domain.com and domain.com are classed as different 'websites'), www being simply a subdomain. Thats just the way the web works


You could try setting the "domain" for the cookie, http://www.15seconds.com/issue/971108.htm" rel="nofollow - for example like this .
You will need to apply it to anywhere that sets (or changes) cookies on the site.

Or if you have URL Rewriting available on your server you can restrict access to only one "website" (ie pick WWW or Non-WWW as your "website") and http://stackoverflow.com/questions/234723/generic-htaccess-redirect-www-to-non-www" rel="nofollow - use this to redirect the other to it .
Note, this link uses "Non-WWW" as the "website".


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: slog
Date Posted: 21 July 2010 at 9:43pm
Thanks Scotty, I am hosted at WWF Servers, hope Bruce can help me to do the redirection...


Posted By: WebWiz-Bruce
Date Posted: 22 July 2010 at 12:50pm
If you fill out a support ticket we can look at setting up a non-www to www redirect for your website.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: slog
Date Posted: 23 July 2010 at 4:44pm
Filling out the ticket right now. ;-)

Thanks Bruce



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net