OK. It appears it was a cookie path problem.
I eventually solved it by adding @define( 'ADMIN_COOKIE_PATH', "https://wordpress.stackexchange.com/" );
to the start of wp-config.php
– as suggested by AppFlak.
The vital clue came from monitoring the output of wp_parse_auth_cookie()
under various states.
Thanks for the ideas, guys! Makes it a lot easier with extra brains on the case 🙂
Related Posts:
- Default .htaccess file for WordPress?
- Which one does WordPress prioritize when it comes to php.ini, wp-config and .htaccess?
- Does this .htaccess security setting really work?
- htaccess problem after saving Settings
- File and directory permissions
- htaccess disable WordPress rewrite rules for folder and its contents
- htaccess https redirect from www to non-www
- Name-based virtual host configuration in Apache seems to cause a “500 Internal Server Error”
- Isolating WordPress to a subfolder
- How disable SSL redirect for specific URL?
- Why does the header set X-Robots-Tag apply to all pages?
- Error:406 not acceptable
- .htaccess Rewrite URL WordPress
- A plugin changes my .htaccess file and I can’t access httpd.conf as that’s a shared server
- What is the role of .htaccess file in WordPress?
- Remove File Extension for Page Outside of WordPress
- How can I code my plugin to safely modify .htaccess?
- HTAccess stops me from accessing WordPress Dashboard links
- .htaccess redirects no longer work
- Exclude subfolder from WP-redirect works with html but not php files
- Server crashed trying to restore wordpress multisite, images are not found pls help
- Create subdomain masking for each user in WordPress
- Redirect from different port to subdomain – htaccess
- .htaccess rewrite rule puzzle
- WordPress Redirect 301 register page
- Allow logged in users who doesn’t belong to whitelisted ips
- Best way to redirect site in subdirectory to root?
- Only expose routes with prefix /wp-json on WordPress using Apache
- Missing slash after moving site to subfolder
- WildCard SSL with wordpress subdomain
- Hardening wordpress: blocking /includes with htaccess
- htaccess – RewriteRule without redirect not working
- browser caching not disabled after disabling in .htaccess
- Restrict uploaded files into a custom folder to logged in users by htaccess: looking for Nginx – not only Apache – solution
- Transfer to HTTPS – mixed content on main page only [closed]
- Htaccess redirect after changing Language URL format
- How do I test to ensure that my wp-config file is protected?
- Adding a SSL Certificate
- .htaccess Security Header Rules
- Modify the .htaccess file
- mod_rewrite loop, redirecting http to https on certain section of wordpress blog
- .htaccess in subdir gets ignored by WordPress’ own .htaccess in /
- blocking access to all post/tag URIs via htaccess
- Rules in .htaccess only if the requested URL is /wp-admin
- What to write in the htaccess in order to detect browser language and point accordingly?
- sitemap contains weird links and does not contain my pages [closed]
- want to rewrite an URL in wordpress
- how to redirect 301 my old search query string to wordpress search query string?
- How to block access to files without modifying .htaccess or ngnix config? [closed]
- Allow REST API over HTTP, the rest of the site forced to HTTPS
- .htaccess RewriteCond excluding directories does not work when there is an .htaccess or php.ini in subdirectory
- Separate 404 page for WordPress in subfolder
- Weird behavior of Dashboard, must be core files
- 404 error Additionally 403 Forbidden error on a URL
- Conflict with Force SSL and Rewrite Rules
- Remove trailing slash after .html extension
- Does WP suppresses .htaccess if permalinks are disabled?
- I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it’s working. Why?
- How do I setup htaccess for 301 redirects, post Joomla to WordPress migration? [closed]
- Hide a subdirectory on my website hosting
- Can’t access WP site over WiFi network
- Creating a copy of a website in a subdirectory, wp-admin redirect problem
- How to rewrite 404 to home page using htaccess?
- I am new in word pres my font awesome is not allow
- htaccess redirect throws an error: PHP Catchable fatal error: Object of class WP_Error could not be converted to string
- “Oops.” error on an html file directly uploaded to a subdirectory of my WordPress site
- WordPress permalinks confusion
- How do I reset a rewrite?
- VServer/Rootserver/Shared Hosting: Multiple WordPress installations each having their unique domain?
- Sub domain URL slash / missing after domain and before Post & page slug
- Problem with WordPress permalinks
- Basic Auth .htaccess on wp-login, but allow logout from woocommerce
- Why my WordPress Site Asking for HTTP Authentication?
- htaccess redirects invalid request to home page not 404
- Force HTTPS for mapped domain pointing to wordpress domain
- WordPress How to rewrite URL for custom pages
- How can I restrict access, by IP, to the `wp-admin` folder/Dashboard?
- How to properly give WordPress its own directory
- WordPress permalinks is wrong. It wants me to change my htaccess file. But then site crashes
- How to move wordpress website from hosting account to localhost
- Question with .htaccess and wp-login.php prevention
- After changing permalink, getting 404 for one particular category
- WordPress RSS feed to external XML
- Does htaccess password keep search engines out?
- I can access subdirectory, but not files within it
- htaccess old php pages to new wordpress ones
- htaccess mod_rewrite not working
- different CNAME to corresponding subfolders
- block seacrh engines for all pages EXCEPT homepage
- Giving WordPress it’s own directory and using .htaccess Directory Index
- Allowing access to certain WordPress created pages or posts with htaccess / htpasswd
- Restrict download files from not generated Urls
- How to change wordpress news root url
- htaccess – Server Subdirectory With Different Name Than URL Subdirectory
- WordPress sections in htaccess kills FrontPage permissions
- How can I stop WordPress from catching URL’s for static pages that I save on my server
- Enable webp support Nginx+Apache reverse proxy with moss.sh [closed]
- WordPress redirection
- Home page returns 404
- Browser Caching .htaccess