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.
Access the website’s webroot folder in the file manager.
Find .htaccess file there and rename it. You can rename it to .htaccess-old. This will disable the old file.
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
Access the website’s webroot folder in the file manager.
Find wp-config.php file and rename it. You can rename it to wp-config.php-old
Create a new file called wp-config.php and add the default sample WP code that you can find here.
Locate and copy the following details from the old file: wp-config.php-old and fill them under the new wp-config.php file:
Database name
Database Username
Database password
Database prefix
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