The problem was I had the old multi-site method, which used sunrise.php
.
I removed wpcontent/sunrise.php
and the SUNRISE
setting in wp-config.php
I then added the relevent settings from the accepted answer on a similar question and it worked.
define('ADMIN_COOKIE_PATH', "https://wordpress.stackexchange.com/");
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
Related Posts:
- COOKIE_DOMAIN setting confusion
- Security in WordPress plugin development
- Trying to migrate a WordPress Multisite with Domain Mapping
- Subdomain login problems
- How to fix blocked cookies error that doesn’t let me log into wp-admin?
- Cookie signed verification failed – wp-saving-post
- Login problems on multisite installation with different domains
- Error : Cookies are blocked or not supported by your browser
- How do I stop exactly one blog from network ever setting cookies?
- Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
- Multisite cookies are being shared across domains unwanted
- How can I create network with different domains?
- Remember language choice on multisite website
- Single sign on to sub-sites in Multisite Network
- How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
- ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress
- Cookies in Multisite network where sites have their own domain name?
- WordPress Network / Multisite login to one site allow access to all
- WordPress MU: Cookie error when trying to login on network WP instance
- How to disable a network enabled plugin for just one site?
- Where is the robots.txt stored for a WordPress Multisite install?
- Settings API in Multisite – Missing update message
- WordPress Multisite: How to make all media library items available for every site?
- How to setup LDAP authentication with WP multisite
- Set default avatar network-wide
- WordPress Multisite. Can domain be used instead of subdomain?
- Multisite: Develop locally using production images with .htaccess
- latest 5 posts using switch_to_blog loop
- How to prevent hotlinking with htaccess in WordPress and why most common use about it doesn’t work?
- restore_current_blog() vs. multiple switch_to_blog() followed by removing $GLOBALS[‘_wp_switched_stack’]
- How To Modify New Sub Blog Immediately When Super Administrator Creates It?
- Create New Site (multisite); can’t get subdomain to work
- Possible to create a multisite network where the main site is non-WP?
- Subdirectory multisite – only root admin available on NGINX
- How to Run Code Before a New Site is Created on MultiSite for Validation
- How to use JSONP to make AJAX request to different site on network
- User registration on sub site
- Restrict Admin Capabilities in MultiSite
- Installing multisite on domain with existing subdirectory wordpress installations
- Multiple WP Sites Same Server – Share WP Base?
- wp_redirect not working on admin menu page
- Bootstrapping WordPress MultiSite Outsite of WordPress – No $wpdb
- Poor performance on multisite install
- Super admin access to a forgotten WP instance?
- Permalinks not working using wordPress Networking with custom post types
- Auto Redirect after login
- Multisite domain naming
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Can is_page and is_front_page both be true?
- Iframe being removed only for some users when publishing a page
- Start with multi-site feature now or later?
- Adding new sites to Multisite won’t register in Dashboard
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- WordPress Multisite with Addon Domains (not parked domain) [closed]
- Blocks Rest API rest_cannot_delete
- htaccess file for multiple CMS’s (multisite wordpress + wolfcms) on same domain but different subdirectories
- How to share primary navigation of main site with subsites usining switch_to_blog
- WordPress 4.5+ Multisite Domain Mapping
- Redirect One Multisite to Another
- Multisite Installation is all the same site
- Some doubts related to Multi Installation → Media of one of the site can be used on the others?
- Redirect to localhost after installing Multisite on server
- WordPress multisite install on two subdomains, each belonging to a separate domain
- Navigation menu not being assigned Theme Location
- Moving wp-admin folder to a different host in a multisite environment
- How do I remove the “http://” from network_site_url?
- is_main_site() Always Returns True
- Mass Update Broken Links
- Permalink with a Category and then a Post
- Performance disadvantge of second installation instead multisite feature?
- What is the simplest way to disable multisite leaving one of the sites only?
- What does multi-site WordPress application mean?
- Create website with a switch between private and business [closed]
- How much resources are good enough for 3.9.2
- Forward and mask a WordPress website
- Subdomain is not working
- Common user login for two different wordpress installation and bbpress
- How to automatically create an index of child sites at the root url for a multisite installation?
- Does switch_to_blog support array or other ways to show all posts on a network install?
- Migration: previous URL redirection after migrating
- how to convert a wp multisite into a single site with content from subsites
- Getting stylesheet error after setting subdomain to false in multisite
- URLs for (MultiSite) link images are always relative
- Add radio button on theme at the select of the theme the same theme should be activated after generation of new site in multi site
- Moving wordpress multisite to new domain
- How to allow mixed case characters in multisite site name?
- Which action hook to update custom field at network/site-info.php in multisite on update site info
- multisite shared settings
- Multi Site Translate Strings
- How To Change the URL of a WordPress Multisite
- Should I use MultiSite for a subdomain based wp site?
- Can’t import posts in multisite
- User registration problem on multisites web
- Admin user getting redirected to /wp-admin/user
- Getting 404 after Update in Multisite
- Default sub-pages on WordPress Multisite
- Multi site and media uploader
- There is no featured image in my post in wordpress multisite theme [closed]
- Subdomain add comment redirect to 404 not found page iis server