I suspect, this issue is much more related to htaccess rather than WordPress installation. In a standard WP installation, you can find the .htaccess
file in the root directory of your WP install. This file is used for various server settings and specifically, URL rewrites. The reason for this file starts with a dot, the file is hidden, so may you need to enable the view hidden files.
Your main site might have a specific configuration that needs to be removed in the local environment. So, try testing your site both with and without the access control. And then test it again with the WordPress default htacess config.
Related Posts:
- Check if user is admin by user ID
- Only allow administrators and editors to access wp-admin
- Only allow administrators and editors to access wp-admin
- Allow administrators to pick post author on custom post type edit screen
- Restrict Author role to only 3 wp-admin pages
- Is WordPress secure enough for a multi-user article directory?
- Newly created user role not displaying on users screen
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Extend user search in the users.php page to allow for searching by role and excluding specified email domains from the “users search” input box
- WordPress change role from administrator to author by itself (automatically)
- Organizing Code in your WordPress Theme's functions.php File?
- How to check if a user is in a specific role?
- Admin Page Redirect
- Disable dragging of meta boxes?
- How to prevent access to wp-admin for certain user roles?
- How to remove screen options and help links in the admin area?
- Sort admin menu items
- wp_update_user not updating
- Can an admin check passwords of registered users?
- Custom column for changing post status via ajax
- Restrict admin access to certain pages for certain users
- Make fonts.com font work in TinyMCE (iframe referrer issue)
- Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles
- Add mass action to wp-admin/users.php
- How to remove items from +New admin menu?
- Add a button to users.php
- create users to site with specific language
- Prevent from deleting any user role but subscriber
- Make sub menu items a main link in the admin menu using fuctions.php
- What is the capability that permits access to WP-Admin?
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- how to add custom user capabilities using add_user_meta or something else?
- Can initial focus be set to search field in WordPress Media Library?
- How to remove “Super Admin” from All Users for those that are not a “Super Admin”?
- Moving wordpress from localhost to server throws admin panel access error?
- wp-admin – save options without refreshing?
- Display sortable User meta column in admin panel user’s page
- Blocking Administrative Access to Authors and Subcribers?
- Displaying which Role the current user is assigned to
- How to display only logged in user’s post comments in comments area
- How do you modify CSS files via admin panel?
- How to hide a specific user role option in a user role list?
- How to prevent parent admin page from appearring as a child admin page
- Adding HTML/Text to Top of Subscriber’s Profile Backend Page
- Custom role based users are not able to access wp-admin
- Restrict dashboard access for specific user roles to specific actions
- Change WP-Login or WP-Admin
- How to inhibit dashboard and profile management access to normal users?
- Custom roles showing HTML entities in title form field
- SSL Partially breaking admin panel and elementor
- Users Unable to Access Dashboard/Posts/Pages
- What is the practical difference between is_admin() and is_blog_admin()?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Distinguish profile user and admin user IDs / get ID of user being edited
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- How to hide wordpress default description box?
- Can’t access WordPress as an admin – but I can log in as a user!
- Uncheck the box “Send User Notification” by default on new-user.php
- Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- How to make the front-end RTL without changing the admin panel language?
- admin_post action not usable if admin access denied to user
- Adding Custom Capabilites
- Parent User and Child User – relate users
- Add column to pages table
- Admin access for custom user capabilities
- Displaying different in-page content to cliente/admin
- transition_post_status not working via Quick Edit
- Why is unfiltered_upload not working despite being enabled?
- How to create user specific pages (not user role!)?
- Logout USER form backoffice after 30 minutes of inactivity [closed]
- What are the requirements to make the admin toolbar show up on the front end
- Remove bulk option row
- I can´t access my admin panel. I tried all possible solutions
- Lost administrator privileges and can’t find a fix
- Downgrade admin account by mistake
- How to set where user is redirected to after logging in at wp-login?
- How to replace “Password Protected” text with icon in Admin
- How to remove dashboard access (wp-admin) for author but not disable the capabilities?
- Deploying WordPress for clients – what do they have access to?
- Hooks: admin_footer and admin_print_footer_scripts not working?
- Can’t access wp-admin, redirects to http://%24domain/wp-admin/
- What is the correct way to get only display plugin for Administrator Only
- Create reviews and star-rating for user accounts in wp-admin [closed]
- Admin top level menu, pointing to an external url
- Browse Happy in 3.2
- How to break line / add to ADMIN menu
- How to Find The Email of a WP Admin Account
- Allow admins to login as other users
- External HTTP API calls slowing down WordPress admin [closed]
- User Capabilities are not available in WP REST permission callback?
- Can I Create a Second Admin Level User Role?
- Outputting something based on the presence of post variable in admin screens
- Creating custom admin panel pages without making a plugin?
- Dashboard : remove Safari navigator message
- Available resources for learning WordPress 4.7.2 from the ground up?
- Show global Message in User Profiles with admin only Input field in WordPress Backend
- Change users.php WP_User_Query