WordPress.org

Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 22 months 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:

Description

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).

Example

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)

comment:1 nacin22 months ago

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

#9873, also #10970

comment:2 SergeyBiryukov22 months ago

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

comment:3 pavelevap22 months 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

http://mydomain.cz/wp-login.php

because www variant does not work.

Note: See TracTickets for help on using tickets.