Support » Fixing WordPress » Multiple URL’s or Sub-Domains in Cookie?

Viewing 5 replies - 1 through 5 (of 5 total)
  • As for WP: what are the two URI values in admin > Options > General? With or without www ?

    They are listed WITH www. I am digging into mod_rewrite directives, but to be honest, I’m not really grasping it. Right when I think I have it figured out, it throws me. I have been able to get requests going to to redirect to using mod_rewrite in the .htaccess files. However, when I try it out in the forums, ( it just resolves at that address, and doesn’t insert the www. Any ideas?

    Try it without. If you do it without the www, both with and without will work. If you do it with the www bit, it’s then required. Ditto for the cookie generating. Best to leave it out.

    Hmm….Thank you for the reply. I have tried it without the “www”, but it still had the same logged-in-status problems. I just tried it again to make sure, but it seems to be problematic still.

    Basically, if I log in at, then once I remove the “www.” from the address bar and hit enter it refreshes the page with my status being logged out, (and vice-versa). This behavior is present in both WordPress and BBPress.

    My first choice for a solution would be to add both “” and “” to the cookie, so no matter where they go, wp and bb recognize them. However, that seems to be a solution for which no one has an answer.

    In lieu of that, I would like to forward everybody from “” to “” This seems a little hackerly to me, and it seems like there should be a simple solution for subdomains, but I have not been able to find it if it exists. I could REALLY use some help finding an appropriate solution here.


    Sorry for the delayed reply. Here is the info that allowed me to set any sub-domain of my domain to be recorded in the cookie automatically. Hope this helps someone else. This doesn’t seem to be documented anywhere else. Look toward the end of the files

    FOR WordPress:

    FOR BBPress:


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple URL’s or Sub-Domains in Cookie?’ is closed to new replies.