Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#20972 closed defect (bug) (duplicate)

Cookies problem with different domain prefixes

Reported by: pavelevap Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: General Keywords:
Focuses: Cc:


I am not exactly sure if it is a real "bug", but I noticed this problem on one website where post passwords did not work. Even if password was right, post content was not revealed. I found that problem was in different siteurl and home options and cookies were set to non-www domain, while website was diplayed on www domain (not recognized).


siteurl: http://mydomain.com
home: http://www.mydomain.com

I am not sure how this user achieved these settings, but maybe experimented with own directory installation and did not differ www and non-www version in the end. Nevermind, maybe WordPress should handle these problems for users and notice them (for example on Dashboard) or solve it automatically somehow?

Change History (3)

#1 @nacin
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#9873, also #10970

#2 @SergeyBiryukov
9 years ago

Last time I checked, it wasn't even possible to log in with such settings.

#3 @pavelevap
9 years ago

Sorry, I searched Trac for related cookies problems, but it looks like it is only one of side effects...

SergeyBiryukov: Yes, you have to go manually to


because www variant does not work.

Note: See TracTickets for help on using tickets.