Edit robots.txt and .htaccess safely
The Files screen edits robots.txt and the RankAIZI block of .htaccess, with protection against mistakes.
How does the robots.txt editor work?
If the real file is missing, WordPress builds a virtual one. Saving in RankAIZI writes a real robots.txt, starting from what WordPress would have served, so you can edit and keep it. A file that blocks the whole site is refused unless you confirm.
Is it safe to edit .htaccess here?
RankAIZI edits only its own marked block and never the rest of the file. After saving, it requests your site once. If the server answers with an error, the previous file is put back at once. Every change is logged and can be undone in History.
Where does it work?
The .htaccess editor works on Apache and LiteSpeed. It is turned off when your site sets DISALLOW_FILE_EDIT, and on multisite only a super admin can use it.
Related guides
Still stuck? Ask the assistant in the chat bubble, or write to info@ainextstudio.it.