[wp-testers] Login cookies issue using multisite on different domains
Dion Hulse (dd32)
wordpress at dd32.id.au
Mon May 31 10:42:37 UTC 2010
You're hitting the inbuilt functionalities of Cookies.
Site1.com -cannot- set cookies for site2.com, It can only set it for
site1.com & subdomains.
On Mon, 31 May 2010 20:31:53 +1000, Davide Ruda <lists at ruda.org> wrote:
> Hi, I have an issue with login cookies.
> I'd like to create a network of sites using the new Wordpress, I'm
> running last development version (3.0-RC1-15059).
> I'm using Wordpress in a multisite configuration, with
> DOMAIN_CURRENT_SITE = admin.mydomain.com
> So, every site I create has by default an url like
> "site1.admin.mydomain.com". After creating the site, I change domain and
> siteurl in www.site1.com
> Everything work well but the user's login, because WP try to set the
> login cookie on the domain ".admin.mydomain.com" instead of ".site1.com"
> ... if I configure back domain and siteurl in "site1.admin.mydomain.com"
> I'm able to login.
> Do you think this can considered as a bug, or am I using Wordpress in a
> wrong way?
More information about the wp-testers