.htaccess rewritten
-
Hey Guys! Please, could you help me with my issue. I have a .htaccess file. There are some lines in it, which prohibit some robots to index the site. The problem is this – If I check the site using the crawler immediately after I re-save .htaccess – everything is fine. If some time passes, the crawler just ignores it and gives 200 ok. Example – I submit user-agent, e.g. Mozilla Firefox immediately after saving .htaccess. The site gives back 403 Forbidden (as it should). Several hours pass and no change occurs in .htaccess. I addressed the site with the same User Agent (which is not granted access to htaccess) – the site returned 200 ok. At the same time, if I updated cache on hosting – the site again gives back 403 forbidden, as it should for this robot. I have already exhausted – I can not figure out where the problem is. There is a suspicion that there is such a plugin in WP Duplicator, which once in a while somehow overwrites .htaccess (although physically there are no changes – that is, the content in .htaccess does not change, there are the same lines absolutely).
The topic ‘.htaccess rewritten’ is closed to new replies.