Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    If you are encountering a 403 Forbidden error when trying to access the WordPress admin dashboard, there are several potential causes for this issue.

    Here are some steps you can take to troubleshoot and resolve the problem:

    Check File Permissions:
    Ensure that the files and directories in your WordPress installation have the correct permissions. The recommended permissions for directories are usually 755, and for files, it’s 644.

    Check .htaccess File:
    The .htaccess file in your WordPress installation may be causing the issue. Backup your current .htaccess file and then try replacing it with a default WordPress .htaccess file. You can find a default .htaccess file on the WordPress website.

    Deactivate Plugins:
    If you have access to your site’s files, you can deactivate plugins by renaming the “plugins” directory in the wp-content folder. This will deactivate all plugins, and you can then check if the issue persists.
    If it resolves the problem, reactivate each plugin one by one to identify the problematic one.

    Review Error Logs:
    Check the error logs on your server for more information about the 403 error. This can provide insights into the specific cause of the issue.

    Remember to always backup your website before making significant changes to files or configurations.

    Regards,
    MilesWeb.

    The 403 Forbidden error, signifies that your server is up and running, but you’ve lost the authorization to check out certain parts or the entire content of your website for some unspecified reason.

    Disable VPN temporarily
    Virtual private network (VPN) might lead to a 403 Forbidden error on websites that restrict access from VPN servers. This restriction is often in place for security reasons or to comply with regional access limitations.

    To verify this, disconnect your VPN and attempt to access the webpage again. If doing so eliminates the error code, you may want to try connecting to a different VPN server or reach out to your VPN provider for assistance.

    Disable CDN temporarily
    If your website uses CDN, it could store a 403 forbidden error because of problems like file permissions, IP blocking, or incorrect .htaccess rules. By temporarily bypassing the CDN, you can figure out whether the error originates from the main web server or if it’s related to the CDN.

    Restore .htaccess file
    Access .htaccess file by logging in cPanel. Navigate to Files and choose File Manager. Inside public_html look out for .htaccess file.

    First, take a backup of that, then create a new file and add following code:

    RewriteEngine On
    # Rewrite rule to redirect requests to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]

    Verify A record
    The 403 Forbidden error occurs when your domain directs to the wrong IP address, blocking your access even if you have the right credentials. To avoid this issue, make sure your domain is pointing to the correct IP address provided by your hosting service.

    In cPanel, navigate to the Domain section and select Zone Editor. Now choose your domain, and see A record.

    Thread Starter realify

    (@realify)

    hi, thanks for the reply

    do you know if this error in cpanel means anything?

    https://ibb.co/4mRdMgzif it does, how can i fix this? How do i find cpanel’s nameserver?

    thanks

    Hello,

    Based on the error screenshot provided, it appears that the domain is currently directed towards an external server IP address (148.163.126.71). To ensure proper configuration, I recommend validating the accuracy of the nameservers or server IP details through consultation with your hosting provider. Once confirmed, proceed to update the nameservers at your domain registrar’s end to facilitate optimal functionality.

    In cPanel, the nameserver configuration is not usually directly accessible within the cPanel user interface. Instead, nameserver settings are typically managed at the server level or by your hosting provider.

    If you’re seeking information about the nameservers associated with your cPanel hosting, here are common methods to locate them:

    Explore Nameserver Information in cPanel:

    Navigate through the cPanel interface. In some cases, hosting providers may include nameserver details in the dashboard or within the “Zone Editor” option in cPanel, though this is not always the case.

    Refer to the Hosting Welcome Email:

    Upon signing up for hosting, your hosting provider often sends a welcome email containing crucial information, such as the nameservers linked to your hosting account.

    Contact Hosting Provider’s Support:

    For accurate and prompt information about your specific hosting setup, reaching out to your hosting provider’s support is recommended. They can guide you on the precise nameserver details associated with your cPanel hosting account.

    Regards,
    MilesWeb.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot access login/admin dashboard entirely’ is closed to new replies.