There are many reasons why WP could display this:
1 Insufficient file permissions on wp-admin folder (check this with ftp)
2 Prefix not consistently the same in database and wp-config (less likely in this case, but check anyway).
3 .htaccess doesn’t reroute wp-admin folder correctly
4 User roles not well defined in database (wp_capabilities
should contain a:1:{s:13:"administrator";s:1:"1";}
and wp_user_level
should read 10
)
5 All sorts of plugin screw ups.
For debugging you can use this snippet of code in functions.php
to gain access. It bypasses the persmission system, so don’t forget to remove it once you’re done.
function wpse227971_skip_permissions ( $allcaps, $cap, $args ) {
$allcaps[$cap[0]] = true;
return $allcaps;
}
add_filter( 'user_has_cap', 'wpse227971_skip_permissions', 0, 3 );
Related Posts:
- Share same domain for wp-admin but for different website
- Bulk Delete Users Error uri too large
- Login to wp-admin “redirect_to” points to wrong URL after migration
- WordPress subdomain wp-admin redirects to main domain
- wp-admin edit user url wont show up correct url [closed]
- WordPress address URL keeps dropping the www
- password reset link being sent as HTTP?
- Logging into sandbox subdomain WP
- wp-admin remove part of the url
- new subdomain to apply as main domain
- WordPress admin page not found error
- Run two wordpress on the same domain
- WordPress blog clone.. wp-admin issue
- CPU overload spam – redirect link to wp-admin and new post
- Weird urls after moving site from local env to a server
- WP site after login keeps redirecting to looped url [closed]
- How can I change block editors suggested links to display another url (i.e. from api.mysite to www.mysite)
- After changing Site http to https, can’t access wp login page with a digitalocean hosting
- WordPress switch domains
- Unable to log in as admin
- Moved from WP.Domain to Primary Domain, Can’t Login
- Forcing WordPress Administration onto a separate SSL Host
- How can you change the admin dashboard URL without symlinking?
- Can I rename the wp-admin folder?
- How to remove screen options and help links in the admin area?
- I’m getting a 404 message when I try to access wpadmin
- wordpress wp-admin css not loading
- wp_list_tables bulk actions
- How do I find all admin users using phpmyadmin?
- wp-admin produces a 302 redirect to itself
- Restrict access to admin but allow admin_post hook
- How to set custom editor style when editing the homepage?
- How to disable or hide “collapse menu”
- TinyMCE Autoresize
- WordPress wp-admin suddenly lost its style
- Activating Child Theme Breaks Website, Blank Page, Error 500
- Create Read Only Admin
- wp-admin is redirecting to back to home page (localhost)
- After changing Site url to https, can’t access login page
- Add custom content in user-edit.php page
- Rename W3 Total Cache admin menu
- How can I add my script to admin using script-loader.php?
- Cloned a site but can’t log in – redirecting to old site
- Can I edit the wp_post > post_content right before its inserted/updated?
- I get “The PHP Date/Time library is not supported by your web host.” on my CentOS host, what library to I need to install to add support?
- How can I allow core, plugin, theme update checks only for selected admins?
- wp_before_admin_bar_render action not working in back office
- Why am I unable to login after converting to www?
- why my menu is not appearing on the admin panel
- Can’t access WordPress as an admin – but I can log in as a user!
- Locked Out Of WordPress Admin Dashboard After Server Move
- Subscribers become Authors after Upgrade? / Mass Update of Users?
- How to create a WP Admin user in phpMyAdmin for WordPress 4.6
- Redirect loop in /wp-admin/
- Add javascript confirmation popup on “Move to Trash” link
- Modify WP-Admin login fields
- Create custom fields as image uploads [duplicate]
- 404 error comes up when I go to wp-admin after first installation [closed]
- Is there a quick way to find out what posts haven’t been tagged?
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- WordPress isn’t reflecting changes I make to a specific file via FTP [closed]
- Cannot Access wp-admin as redirects to wp-signup.php?
- Screen Options & Help Buttons not working when including Bootstrap Css
- edit.php alter links
- Cannot access WordPress login pages
- How to get Role Subscribe Users on Admin Menu only in Pages in WordPress
- Why does do_robots() Allow: /wp-admin/admin-ajax.php by default?
- What is the meaning or function of this notice?
- How to set where user is redirected to after logging in at wp-login?
- Restrict submitters from wp-admin [duplicate]
- How change a core block label
- WP-admin or any other is redirecting me to (This page doesn’t seem to exist.)
- Adding a button to send email to a user in WordPress Admin Users table
- Restrict access to admin-post.php
- How do I add something to the “Edit Tag” page in wp-admin?
- How to create dependent dropdown custom field in wordpress admin post form
- How do I make it so that the all users page is not a white screen?
- Show shipping class on product admin page
- Change the default Post/Page edit title in Admin
- Detail view for an element in a list the admin site
- Accessing wordpress tool in local MAMP Site
- How to load Dashboard default media files via HTTPS even when Browser URL has HTTP
- My WP-Admin is showing a blank screen
- Some fields in Settings API form are saving, others are not
- I cannot get the “Read More” button to work!
- wp-admin ERR_CONNECTION_TIMED_OUT only on certain networks
- wp-admin redirects to standard wordpress page
- Options site set empty fields after submitting
- Messed something up, and now I can’t get into wp-admin
- Handling multiple account logins?
- Cannot login in WordPress even after changing hash password in phpmyadmin
- Is it possible to outsource wp-admin to another server?
- Wp mwnu not works at all
- Can’t log into WordPress after domain change
- Search box for hierarchical taxonomies in admin interface
- Custom Admin Message from external source to multiple users
- How can visitors redirect wp-admin to the homepage?
- Creating your own options-general.php page
- My website’s wp-admin redirects to another website’s wp-admin after pointing the site url to a subdirectiory
- Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the “users search” input box