{"id":418,"date":"2025-01-28T15:07:34","date_gmt":"2025-01-28T15:07:34","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/01\/28\/10476636-troubleshooting-issues-accessing-wordpress-admin-login-page-via-hostinger-hpanel\/"},"modified":"2026-04-20T09:03:47","modified_gmt":"2026-04-20T09:03:47","slug":"10476636-troubleshooting-issues-accessing-wordpress-admin-login-page-via-hostinger-hpanel","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/10476636-troubleshooting-issues-accessing-wordpress-admin-login-page-via-hostinger-hpanel\/","title":{"rendered":"Troubleshooting Issues Accessing WordPress Admin Login Page via Hostinger hPanel"},"content":{"rendered":"<p class=\"no-margin\">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.<\/p><p class=\"no-margin\">To fix the issue, check the following steps from the first to the last one:<\/p><h3 id=\"h_c60743618d\">Step 1: Check DNS records<\/h3><p class=\"no-margin\">Ensure that the domain points<b> to Hostinger<\/b> by either nameservers or A record.<\/p><ol>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-check-if-domain-a-record-is-pointed-correctly#:~:text=Using%20the%20hPanel,the%20A%20(Host)%20tab.\" target=\"_blank\" rel=\"noopener\">Check A Record DNS: Making Sure Your Domain is Correctly pointed<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"\/support\/8671230-how-to-look-up-domain-nameservers\" target=\"_blank\" rel=\"noopener\">How to look up domain nameservers<\/a><\/p>\n<\/li>\n<\/ol><h3 id=\"h_d0b34e8f2a\">Step 2: Check Malware scanner report<\/h3><p>If you see that the domain is pointing correctly, but the admin page still does not open, check out malware scanner to see if no malware was detected:<\/p><ol>\n<li>Go to your website <strong>dashboard<\/strong>.<\/li>\n<li>Find <strong>security<\/strong> tab at the left side of your dashboard.<\/li>\n<li>Click on <strong>Malware Scanner&nbsp;<\/strong>category under security tab.<\/li>\n<li>If your website has been affected by malware &ndash; follow cleanup steps: <a href=\"https:\/\/www.hostinger.com\/support\/1583339-how-to-fix-a-malware-infected-wordpress-website-at-hostinger\/\">How to fix malware-infected WordPress Website at Hostinger.<\/a><\/li>\n<\/ol><h3 id=\"h_d0b34e8f2a\">Step 3: Default .htaccess file<\/h3><p class=\"no-margin\">If the issue persists, create a new .htaccess file and paste the default code.<\/p><ol>\n<li>\n<p class=\"no-margin\">Access the website&rsquo;s <b>webroot <\/b>folder in the file manager.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Find <b>.htaccess<\/b> file there and <b>rename<\/b> it. You can rename it to .htaccess-old. This will disable the old file.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Create a new file called <b>.htaccess<\/b> and add the following default WP code.<br>\nYou can find it here<br>\n&#8203;<br>\n&#8203;<i>#BEGIN WordPress<br>\n&lt;IfModule mod_rewrite.c&gt;<br>\nRewriteEngine On<br>\nRewriteBase \/<br>\nRewriteRule ^index.php$ &ndash; [L]<br>\nRewriteCond %{REQUEST_FILENAME} !-f<br>\nRewriteCond %{REQUEST_FILENAME} !-d<br>\nRewriteRule . \/index.php [L]<br>\n&lt;\/IfModule&gt;<br>\n#END WordPress<\/i><\/p>\n<\/li>\n<\/ol><h3 id=\"h_7b776b57ff\">Step 4: <b>Default wp-config.php<\/b><\/h3><p class=\"no-margin\">If the issue persists, enable a <b>default wp-config.php<\/b> file<\/p><ol>\n<li>\n<p class=\"no-margin\">Access the website&rsquo;s <b>webroot <\/b>folder in the file manager.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Find wp-config.php file and <b>rename<\/b> it. You can rename it to wp-config.php-old<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Create a new file called wp-config.php and add the <b>default sample WP code<\/b> that you can find <a class=\"intercom-content-link\" href=\"https:\/\/github.com\/WordPress\/WordPress\/blob\/master\/wp-config-sample.php\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Locate and copy <\/b>the following details from the old file: <b>wp-config.php-old<\/b> and <b>fill them under the new wp-config.php<\/b> file:<\/p>\n<ol>\n<li>\n<p class=\"no-margin\">Database <b>name<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Database <b>Username<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Database <b>password<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Database <b>prefix<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Keys\/salts<\/b>. These can be <b>either<\/b> copied from the old wp-config.php file <b>or<\/b> generated <a class=\"intercom-content-link\" href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/\" target=\"_blank\" rel=\"noopener\">here<\/a><\/p>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol><p class=\"no-margin\">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: <a class=\"intercom-content-link\" href=\"\/support\/4455931-how-to-migrate-a-website-to-hostinger\" target=\"_blank\" rel=\"noopener\">How to migrate a website to Hostinger<\/a><\/p><p class=\"no-margin\">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: <a class=\"intercom-content-link\" href=\"\/support\/1583780-how-to-contact-hostinger-support\" target=\"_blank\" rel=\"noopener\">How to contact Hostinger support<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Troubleshooting issues accessing WordPress admin login page via hPanel<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[268],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-wordpress-dashboard"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/10476636-troubleshooting-issues-accessing-wordpress-admin-login-page-via-hostinger-hpanel\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":9830,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/418\/revisions\/9830"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}