not writable .htacces and robots.txt files

#72736
  • Hello,
    Thank You for this great SEO tool! I just started using the SEO plugin and ran into a problem of not writable .htacces and robots.txt files.I get this message in settings page. The robots.txt file is not even present. The .htacces file has rw- rw- r– and is owned by the same as all the other files including the Rank Math files.What is the problem here? Could you please help me to solve this?I have file access to server and I can  see the rights of the files and could change them.Thank you very much in advance
    Peter Wolf

Viewing 7 replies - 1 through 7 (of 7 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    This is most likely a limitation on your hosting environment. Please get in touch with your host and check if they have some provisions to modify these settings.

    Looking forward to helping you. Thank you.

    Hi Alberto,

    Sorry, but this standard reply is of no help at all. I am the host and I already gave the details of what I did so far. Which is, what Bhanu Ahluwalia told me to do. He requested a temporary login to my WP. Now, how do we go from here?

    Thank You for Your help in advance
    Peter

    Hello,

    Could also please add some FTP access so we can look into this further.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I checked and you had disallowed file edit in your WP_CONFIG by having this line: define( ‘DISALLOW_FILE_EDIT’, true ). I changed it to false and now your htaccess and robots.txt can be edited. I also renamed the robots.txt file in your root folder to robots_bak.txt to allow Rank math to automatically generate the robots.txt virtually. You can restore or delete it if you wish to.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Hello Michael,

    Thank You so much! That is really a relief to me. I was very concerned that the .htaccess could not be updated by your plugin, even though I don’t know if it actually changes some parameters or just wants to open the option that one could write something manually?
    the robots.txt was of course very important to change because of the routing to the sitemap.

    Thanks again!

    Alberto
    Rank Math business

    Hello,

    It is as you said, it just gives you an option to easily edit the .htaccess file without having to open an FTP connection to edit it.

    Looking forward to help you.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.