Check your rewrites to make sure it follow this
if (!-e $request_filename) {
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last;
rewrite ^/[_0-9a-zA-Z-]+.*(/wp-admin/.*\.php)$ $1 last;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last;
}
not this
if (!-e $request_filename) {
rewrite /wp-admin$ $scheme://$host$request_uri/ permanent;
rewrite ^(/[^/]+)?(/wp-.*) $2 last;
rewrite ^(/[^/]+)?(/.*\.php) $2 last;
}
Related Posts:
- Changing permalinks gives me 404 errors on nginx
- Setting 404 page in Nginx
- How to remove the index.php in the url?
- Homepage loads but all permalinks are 404 when using nginx & PHP-FPM
- nginx – permalinks with .php in url not working
- Enable Minify in W3Total Cache using NGINX [closed]
- How to get blog id from permalink?
- Permalinks keep reverting to 404 unless I re-save them
- WordPress installation in subfolder not working with nginx
- Multisite Network: How to change permalink structure programmatically on new blogs
- WordPress blog posts permalinks giving 404 on nginx
- Why wordpress multisite root site showing blog prefix by force?
- Create unique alphanumeric ID on wp_insert_post
- After updating to 4.8 permalinks will not work (all 404)
- Server Move: All pages leading home
- WordPress Permalinks & Nginx Rewrite Rule Not Working
- How do I fix permalink and media library issues on a LEMP stack?
- Nginx Rewrite Rule:: index.html added to every permalink
- WordPress post-name permalink redirects to site.com
- NGINX serve WordPress from sub-path fails with 404, how to fix?
- How to eliminate permalink prefix in WordPress Multisite
- After updage wordpress 4.4 to 4.5 nginx config works not properly
- Nginx url rewrite rule problem
- Is it possible to install WordPress Multisite on a subdomain with subdirectories?
- Some permalinks are not working and show 404
- Multiple sites with pretty permalinks with nginx
- flush_rewrite_rules on MultiSite
- WP Multisite Subdirectory Custom Permalinks 404
- Redirect old /%category%/%postname%/ to just /%postname%/
- Change permalink structure in all sites of a multisite
- WP permalink working, but why content doesn’t display
- 404 on wordpress multisite Permalink pretty URLs
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- permalinks constantly needs re-saving
- In a multisite, how can I get posts from one site and display their permalinks in another site?
- Disable “similar permalink” redirect [duplicate]
- Parent/Child Relationships with Multisites?
- wordpress admin panel loop on nginx
- WordPress and NGINX – permalinks are not working with ending slash
- ReWrite Permalink to New Permalink Nginx
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- Is it possible to get a page link from its slug?
- Need help with add_rewrite_rule
- After server migration only the homepage works
- remove “index.php” from permalinks
- where is permalink info stored in database?
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- Change media item permalink
- Remove the blog slug from WordPress Multisite root node
- Get Permalink without domain (i.e. get relative permalink) [duplicate]
- How does WordPress create URLs that Apache knows about?
- Strange permalink issue: can’t rename /company-2/ to /company/
- Passing and retrieving query vars in wordpress
- Get the current page URL (including pagination)
- Stop WordPress appending `-2` to the end of my url after i change it
- Get default permalink structure from pretty URL’s
- How to get permalink and title from post ID?
- Why is “/page/2/” not working?
- WordPress Permalinks not working in Apache2 Ubuntu 14.04
- Performance of my permalink structure?
- Permalink format: singular or plural
- What is the difference between get_post_permalink and get_permalink?
- WordPress matching URLs with trailing tildes
- Get current URL (permalink) without /page/{pagenum}/
- How does WordPress handle permalinks?
- Pretty permalinks for search results with extra query var
- Get page permalink without wpurl
- How can I get the privacy policy page?
- Can I use REST-API on plain permalink format?
- How to set permalink structure via functions.php
- WordPress slug issue with non-latin characters
- Rewrite Rule for Multilingual Website, Like qTranslate?
- How to get pretty URLs with add_query_arg in permalinks
- What is the best permalink structure for SEO?
- Change author permalink
- Creating custom permalink structure for languages
- Hide permalink and preview button and link on custom post
- Custom post type permalink endpoint
- How can I make Capital letter ( upper-case ) permalinks?
- How can I reverse engineer a Permalink to Find the Page?
- Mapping Domains to Permalinks (not multisite)
- How to remove dates from existing permalinks?
- How do I set a custom base URL for standard posts?
- Removing Parent Page(s) from Permalink
- Why permalinks work with /index.php/%postname% but not with just %postname%?
- Setting up WordPress with Custom Permalinks and no .htaccess File?
- Getting the Site URL Including the Front Base
- Does WordPress Change the .htaccess File When Updating?
- Using $_GET variables in the URL?
- Removing the redirect after changing a page’s slug
- How to display a public profile page for registered users with custom slug?
- Removing leading zeros from custom permalink structure
- Must slugs be unique?
- WordPress Multisite, NGINX and WordPress Subdirectory Install
- How to get the clean permalink in a draft?
- How to use relative links on my pages?
- How does wordpress keep track of post id when post id is not used in permalinks?
- How to filter to output of the get_permalink() function
- Stop WordPress from reserving slugs for media items?
- Including category-base in a post permalink results in 404