After talking to my hosting provider, many a times, the issue finally got resolved.
Solution: Fixing directory and file permissions.
I was told that:
All directories should have the permission 755. And, all files should have the permission 644.
Once, the hosting provider reset permissions of all the directories and files present in the folder to which the website is pointing to, the issue is resolved.
Related Posts:
- How to restrict attachment download to a specific user?
- Using JWT to authenticate a user with an external system?
- Allow anonymous user to access Themes Customizer
- Is there an existing capability to allow editing of only pre-existing pages? If not, a good way to implement this?
- How to make user inactive by default while registering?
- How to set privilege to wordpress subscriber for private page
- authenticate user without password from email activation link [duplicate]
- User Access Manager plugin
- How can we Restrict to access a certain wordpress page to all ip address except some which we allow
- Restrict post to user_id
- add_option_page capability behaving strange
- Allow non logged users to visit only login page and password reset page
- How can I allow users to make groupings of posts
- Is user listing on wordpress private?
- How to restrict logged user to view only certain pages?
- Limit post display to post authors and create an exception for specific pages
- How to “Global Ignore” / “Hell Ban” someone, restrict post visibility to the author only?
- Conditional menu for registerd users/guests (Genesis framework)
- How can I create an upload page for (and only visible to) specific users?
- remove wp admin menu by customer user role
- Custom Roles for access to specific term(s)
- ‘post’ only for editor and administrator
- Why: sticky front page code, shows latest non-sticky on logged-in front page
- Access denied error when logged in as admin
- Disable all admin UI access to authors (except to custom post type add, edit and modify)
- Hide all pages except landing page
- How to restrict access to a page?
- How can I change access permissions across many pages?
- How do I get the access type in WordPress?
- Profiles site with access levels
- User access control in sidebar archive and categorires
- Plugins that restrict access based on user group/roles
- Restrict access for wp-admin panel
- Specify the level of access to different pages at the time of user creation
- When add analytics script, wordpress user login not working
- Hide WordPress “wp-admin” dashboard to User IDS
- I cannot access but but wp-admin works normally
- about visibility in wordpress regarding of roles
- Can access main URL and Dashboard but not any posts or pages [closed]
- How to List only the users created by a particular user
- How to enable to the user send content and save as draft entry?
- How to give members access to their own protected page?
- Use WordPress engine for user registration and management
- How to make future posts visible to selected visitors without login
- Add existing user as administrator
- Split post edit screen into sub-edit screens for users, is this good or bad, and is it possible?
- Suggestions for allowing basic users to view their own posts?
- How to restrict posts only from a certain category
- Two users attempt to modify a page
- Allow member to have access to custom post type only. Permission to only edit their own posts
- How do I create a custom role capability?
- How to enable suggested edits?
- With Rest V2 (WP4.7) how does one restrict certain RESTFUL verbs?
- How to programatically change username (user_login)?
- How to check if user is in back end?
- Filtering the Admin Comments List to Show Only Comments from the Current User?
- How to restrict access to uploaded files?
- wp_update_user not updating
- Allowing users to edit only their page and nobody else’s
- Can an admin check passwords of registered users?
- HTTPS leads to Sorry, you are not allowed to access this page
- Troubleshooting a “You do not have sufficient permissions to access this page” error
- Restrict admin access to certain pages for certain users
- How can I hide a category from Contributors in the edit/add new post screen?
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- How to assign specific users the capability to edit specific pages / posts / custom post types
- Hide Admin Menu for Specific User ID who has administrator Role
- How to get all capabilities of an existing user role
- Allowing an email as the username?
- Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles
- Limit access to posts/pages by user roles
- Allowing specific users to only add posts using certain custom taxomy terms
- Is WordPress’ is_user_logged_in() secure?
- Website Visible only to Registered users
- Check if specific username is logged in
- How to manually activate user in dashboard only by admin
- Post list based on the user that is logged in
- REST API: How can I restrict a custom post type to only be accessible by authenticated users?
- Only allow administrators and editors to access wp-admin
- Theoretical Multi-Server WordPress Setup with Shared Users
- Show custom post type endpoint in REST API just if user has capability
- Restrict users on multisite WordPress install
- How do you add a custom option to user data?
- The ‘user_has_cap’ hook seems to take two page loads to trigger
- Basic auth WordPress REST API dilemma
- How can I hide media library images from general users?
- Temporarily disable user role login and replace with message
- How to restrict a page [without plugin]
- Access code/password only restricts page access, no user registration..?
- How to show a category post to a specific registered user
- Add user capability and check against it
- how to add custom user capabilities using add_user_meta or something else?
- Copy a user from one WordPress site to another
- Restrict acceess of a page in backend
- 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?
- Restrict access and display for categories
- Only show category to certain user levels without plugin
- if role is logged in then do something
- Remove Custom Post Type menu for non-administrator users.