If you’re using Varnish and you’re not seeing the admin bar it’s because you probably have a rule in /etc/varnish/default.vcl
that looks like this:
sub vcl_recv {
if (!(req.url ~ "wp-(login|admin)")) {
unset req.http.cookie;
}
}
That’s going to keep the admin bar from showing up because you’re dropping cookie stuff from all pages except ones that match wp-(login|admin)
. As a test, try removing this and loading your site. If the admin bar shows up, you will want to adjust your Varnish rules.
There are a few different ways of handling things and it varies. You can check for a specific cookie name, URL strings, etc.
Related Posts:
- WordPress Multisite, NGINX and WordPress Subdirectory Install
- WordPress Multisite with multiple domains using Nginx
- WordPress Multisite with NGINX, subfolders, and FROM a subfolder
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- NGINX Multisite Rewrite rules
- Nginx rules for subdomain multisite install (Bedrock)
- Multisite WordPress nginx uploaded files throw 404
- WordPress Installation for multi-domains with nginx and php-fpm
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Subdirectory multisite – only root admin available on NGINX
- WordPress multisite subdirectory on nginx behind reverse proxy
- Multisite setup on VVV with bedrock
- How to run a subdirectory multisite install under a subdomain
- NGINX rewrite rules for sub subdomains
- Mapping subdomain to point to sudirectory site in WordPress Multisite Network
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- WordPress Network (multisite) — how to ensure each site has their own admin URL?
- Nginx — WordPress multisite with root folder in own directory
- Help with multisite redirect issues using Cherokee OR solid nginx config?
- WordPress in subdirectory, Multisite using subdomains Nginx
- Some permalinks are not working and show 404
- Why WordPress w/ Nginx Multisite Only Lets Admin Upload ZIP Plugins But Not Themes? [closed]
- Setup another new subdomain root on top of multisite configuration
- WordPress multisite second site admin resulting in too many redirects error
- Possible to reverse proxy WP multisite to a separate server with NGINX?
- Multisite wp-admin redirecting to main wp-admin using NGINX
- wordpress.mydomian.com 404 Error
- Nginx rules for subdomain multisite install (Bedrock)
- WordPress Multisite FQDN Admin Access
- Using www along with non-www for main domain in multisite installation
- Why does defining MULTISITE true change the database connection in use
- Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox
- wordpress multisite is broken in nginx but working in apache
- Convert a Multisite WordPress install into a Single site
- Why are my roles not visible in a Multi-site/Network?
- Multisite: How to store global options vs. site options?
- Mega WordPress Applications WPMU or otherwise
- Does the WordPress API work with multisite?
- How properly delete only one site (blog) from the Network in WordPress Multisite (WPMU)
- How to change a WordPress network domain
- Multisite sub-site dashboard redirects to /wp-admin/
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- How to configure WordPress Multisite by bash script?
- WordPress Multisite subdirectories not allowed on new install?
- How to use both British and American English?
- Members area with externally-managed htaccess / htpasswd authentication?
- Using Multisite with a CDN?
- WP Multisite Static Frontpage
- Architectural reasons behind sitemeta, blogs, home, site and DOMAIN_CURRENT_SITE redundancy
- Redirecting non www to www ONLY for domain, subdomain without www
- WordPress with Lan and Wan Access?
- Moving WordPress Multisite
- WordPress multisite with subdomain and directory simultaneously
- WordPress Multisite Wildcard Subdomains on Plesk
- WordPress Multisite Question
- Single install or multisite?
- Wrong Redirect/Rewrite Rules?
- Four columns in the wp_users table
- WordPress Folder Multisite – dev, staging, www versions
- Is this the right set of records for Route53 domain to point to a mapped domain in a multisite? [closed]
- Initiate multisite with blog_id outside of wordpress
- Why is MySQL receiving such a large serialized object?
- How can I remove the folder from a Multisite URL?
- Update post meta using save_post hook in multisite
- Set up Network Locally on a Flash Drive
- turning off multi site mode makes XMLRPC fail : you are not allowed to publish posts on this site”
- User Role is Not Specifying in WordPress Multisite?
- Problem in logging in as admin
- 301 Redirection After Comment
- Changing Domain Name Broke Database
- What is with the one month time limit for sub directory installs for multisite network?
- Can I use the same Folder name as a Multisite Blog?
- How to get the blogs owned by a user?
- Merge Multiple Sites/Networks (at least 2) into One Site/Network
- Multisite Subdomain Change
- Cross site identifier in a WP Multisite installation
- Multisite: How to get a list of sites by locale
- let user select roles in the wordpress subsites
- Get latest posts from multisite
- Will resetting my database affect other sites on my multisite WordPress install?
- WordPress multi site network setup on local server shows sub-directories error
- WordPress Multi site Map Domains
- Remove multisite part from wordpress multisite upload directory
- Sub-directory domain on subdomain multisite?
- Can’t activate a user on multisite install
- A different role for each site in a multisite
- Multisite error when adding a user: already a member of this site
- Multisite custom rewrite urls
- Nested folder paths for WordPress multisite
- Subdirectory and domain multisite installation
- Installed in root, want second in subdirectory
- Prevent site down when importing data from large XML file
- How can I write a rewrite rule to appear to move a multisite?
- Multisite and plugins options
- Aliasing a subdomain on a wordpress network
- Error establishing a database connection – Multi-site with subsite don’t exisit [duplicate]
- Multisite pagination with get_posts
- HyperDB, Multisite – on new site creation put site’s tables to specific database
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering