NDIS Provider Website Locked Out After Plugin Update
Summary
This guide helps you troubleshoot and resolve: NDIS Provider Website Locked Out After Plugin Update. Follow the steps below to fix the issue.
Common Causes
This guide provides recovery steps for NDIS service providers whose WordPress website displays 'Access Denied' or '403 Forbidden' errors immediately following a plugin update. This issue typically occurs when a plugin update modifies file permissions or introduces conflicting rules to the .htaccess file, restricting access to the website dashboard or the public-facing site.
Data Privacy Note: NDIS providers often handle sensitive participant information. During troubleshooting, avoid exporting database dumps to unsecured local machines and ensure any temporary access granted to third-party developers is revoked once the issue is resolved.
If you host with us, you do not need to perform these steps yourself. Please Open a Ticket and our Brisbane team will resolve this for you.
Quick Fix Steps
Follow this high-level summary to regain access to your WordPress site:
- Back up your website files and database via your hosting control panel.
- Identify the recently updated plugin and rename its folder in
wp-content/pluginsto deactivate it. - Rename the
.htaccessfile in your root directory to regenerate default rules. - Verify file permissions for folders and files.
- Check for IP blocks or ModSecurity rules via your hosting provider.
- Reset your administrator password via email or phpMyAdmin if locked out of the dashboard.
Detailed Instructions
1. Create a Backup
Before modifying any files or the .htaccess file, create a full backup of your website. Use your hosting control panel's backup tool or download your files via FTP and export your database. This ensures you can restore the site if a change causes further issues.
2. Identify the Problematic Plugin
If you are unsure which plugin caused the lockout, use the following methods to identify it:
- Check your hosting control panel or WordPress update logs to see which plugins were updated immediately before the error appeared.
- Connect to your site via FTP or File Manager and navigate to
wp-content/plugins. - Sort the plugin folders by 'Date Modified'. The folders with the most recent timestamps are the likely culprits.
- Rename the suspected plugin folder by adding
-oldto the end (e.g.,plugin-namebecomesplugin-name-old). - Refresh your website to see if access is restored. Renaming the folder deactivates the plugin without deleting its settings or data.
3. Reset the .htaccess File
If renaming the plugin does not work, the .htaccess file may contain corrupted rewrite rules from the update.
- In your website's root directory (typically
public_htmlorwww), locate the file named.htaccess. - Right-click the file and rename it to
.htaccess_old. - Visit your website in a browser to check if the 403 error is resolved.
- If the site works, log into WordPress and navigate to Settings > Permalinks.
- Click the Save Changes button to generate a new, clean
.htaccessfile.
.htaccess file permanently until you have confirmed the website is functioning correctly. Incorrectly renaming core files or folders can break your site's functionality.4. Verify File Permissions
Incorrect permissions on folders and files can trigger 'Access Denied' errors. Check the following:
- Folders should generally be set to
755. - Files should generally be set to
644. - The
wp-config.phpfile should be set to600or640to protect database credentials.
5. Check IP Blocks and ModSecurity
If you still see a 403 Forbidden error, your IP address may be blocked by a server-level firewall or ModSecurity rule.
- Log into your hosting control panel and look for the 'IP Blocker' or 'Firewall' section to see if your current IP address is listed.
- If you suspect a ModSecurity rule is triggering the block, contact your hosting provider to review the server logs for your IP address.
- Temporarily disable security plugins by renaming their folders in
wp-content/plugins. - Clear your browser cache and cookies, or try accessing the site in an Incognito/Private window.
6. Restore Administrator Access
If you are locked out of the administrator account or have forgotten your password:
- On the WordPress login page, click Lost your password? and enter your administrator email address to receive a reset link.
- If you do not receive the email, access your database via phpMyAdmin in your hosting control panel.
- Locate the
wp_userstable and find your administrator user. - Click Edit, select
MD5from the function dropdown for theuser_passfield, and enter a new password in the value box. - Click Go to save the changes and attempt to log in with the new password.
Escalation
If you have completed the steps above and the website remains inaccessible, please Open a Ticket. Our Brisbane support team can perform advanced server-level diagnostics and restore access without compromising your participant data.
Still Having Issues?
💻 Open a Ticket