Skip to main content
All CollectionshPanelWordPress Dashboard
Troubleshooting issues accessing WordPress admin login page via hPanel
Troubleshooting issues accessing WordPress admin login page via hPanel

Troubleshooting issues accessing WordPress admin login page via hPanel

Updated over 2 weeks ago

If you encounter issues accessing your WordPress admin page via the hPanel, such as a not found, WordPress admin getting greyed out, or 403 error, it may be due to several issues.

To fix the issue, check the following steps from the first to the last one:

Step 1: Check DNS records

Ensure that the domain points to Hostinger by either nameservers or A record.

Step 2: Default .htaccess file

If the issue persists, create a new .htaccess file and paste the default code.

  1. Access the website’s webroot folder in the file manager.

  2. Find .htaccess file there and rename it. You can rename it to .htaccess-old. This will disable the old file.

  3. Create a new file called .htaccess and add the following default WP code.
    You can find it here

    #BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    #END WordPress

Step 3: Default wp-config.php

If the issue persists, enable a default wp-config.php file

  1. Access the website’s webroot folder in the file manager.

  2. Find wp-config.php file and rename it. You can rename it to wp-config.php-old

  3. Create a new file called wp-config.php and add the default sample WP code that you can find here.

  4. Locate and copy the following details from the old file: wp-config.php-old and fill them under the new wp-config.php file:

    1. Database name

    2. Database Username

    3. Database password

    4. Database prefix

    5. Keys/salts. These can be either copied from the old wp-config.php file or generated here

Step 5: Re-migrate the website

If the issue started after migrating the website and still persists, you can re-migrate or create a migration request for migration, and our team will perform the migration for you: How to migrate a website to Hostinger

If the issue is not related to migration and happened to an existing website, contact our customer success team to check the issue further for you: How to contact Hostinger support

Did this answer your question?