Hello Reddit & WP friends,
My robots.txt file seems to be cursed, I added a line to block a directory on my site, and ever since I removed this line, Google Search Console considers it to still be there!
I’m using the WordPress plugin TranslatePress: [**https://translatepress.com/**]) For my site: [**https://wikihhc.com/**]) which allows me to translate into several languages. However, there is always work to be done on the URLs as they are not necessarily translated in the best way. So when I launched the Hungarian version of the site: [**https://wikihhc.com/hu/**])
I added a line:
`Disallow: /hu/`
Which corresponds to the directory where the translated pages are located, while I made modifications so that our friend Google would not index pages that would be modified within the next 24 hours. Once I finished the translation, I removed this line from my robots.txt and that’s when my problem began! Google Search Console indicates that the URLs starting with /hu are blocked by the robots.txt, even though this is no longer the case! As you can see in the content of my robots.txt file below.
User-agent: \* Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: [**https://wikihhc.com/sitemap\_index.xml**])
I specify that I went through the rank math plugin to change the robots.txt file then after I left wordpress managed by default the file.
​
Do you have any idea how to solve this problem?
Thank you in advance!
​
[ad_2]