Hello,
I’m sorry to hear that you are facing difficulties accessing your WordPress dashboard due to the “Disallow: /wp-admin/” directive in your robots.txt file. To resolve this issue, you can follow these steps:
-
Edit Robots.txt with Rank Math:
- You can edit your robots.txt file using the Rank Math SEO plugin. Please go to WordPress Dashboard → Rank Math SEO → General Settings → Edit robots.txt.
- If you encounter any errors while editing the robots.txt file, you may need to ensure that the file is writable. You can refer to this guide on how to make the robots.txt file writable.
-
Check for Physical Robots.txt File:
- Ensure that there is no physical robots.txt file present in the root folder of your website. If there is one, you may need to remove it via FTP or cPanel File Manager.
-
Contact Web Host:
- If the issue persists, there might be permission issues on the web server. In such cases, it’s recommended to contact your web host for further assistance.
By following these steps, you should be able to resolve the issue and regain access to your WordPress dashboard. If you need further assistance, feel free to provide additional details or reply to this ticket.
Thank you for reaching out and bringing this matter to our attention.
Sources:
I Can’t Edit My Website’s Robots.txt » Rank Math
Why Google Hasn’t Indexed Your Post, Page, and/or Website? » Rank Math
How to Fix ‘Blocked by robots.txt’ Error in Google Search Console » Rank Math
Common robots.txt Issues & How to Fix Them » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.