Robots.txt Uneditable

#40322
  • Resolved Steve Lees
    Rank Math pro
    Content AI Expert

    I am trying to block Google from indexing the images on this site, by adding the following to the robots.txt file:

    User-agent: Googlebot-Image
    Disallow: /

    I have searched the server via filemanager in C-Panel and can not find a Robots.txt file. I think that Rank Math SEO is creating one on the fly, is that correct?

    I found a section in RMSEO admin but it says the robots.txt file is uneditable and therefore I can not add the required code.

    What am I missing here please?

    • This topic was modified 4 years, 7 months ago by Steve Lees.
    • This topic was modified 4 years, 7 months ago by Steve Lees.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Steve Lees
    Rank Math pro
    Content AI Expert

    REMOVED

    • This reply was modified 4 years, 7 months ago by Steve Lees.
    • This reply was modified 4 years, 7 months ago by Steve Lees.
    • This reply was modified 4 years, 7 months ago by Steve Lees.

    Hello,

    Thank you for contacting Rank Math today.

    Have you been able to resolve this or you still need some help?

    I can suggest that you also check your wp-config.php file for any definitions that may be blocking file editing.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Steve Lees
    Rank Math pro
    Content AI Expert

    Yes I still need Help!

    Todd
    Rank Math free

    Hi Steve,

    Rank Math uses a virtual robots.txt much like other SEO plugin.

    To edit the content, head over to WordPress Dashboard > Rank Math > General Settings > Edit robots.txt and add this in the content area:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    
    User-agent: Googlebot-Image
    Disallow: /
    
    Sitemap: https://www.DOMAIN-NAME.com.au/sitemap_index.xml

    Don’t forget to change the domain name to the actual one.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Steve Lees
    Rank Math pro
    Content AI Expert

    You clearly did not read anything, I CAN NOT EDIT IT AT ALL! That is the problem!

    Hello,

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

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Robots.txt Uneditable’ is closed to new replies.