Robots.txt 질문

#581085
  • Resolved Anonymous
    Rank Math free

    한국의 워드프레스 커뮤니티에서 Robots.txt 질문이 나왔습니다.
    Rank Math 자료에 따르면

    WordPress Dashboard > Rank Math > General Settings > Edit robots.txt 에 있는 Rank Math에서 robots.txt 파일로 이동했습니다.

    ‘robots.txt file is not writable’ 경고가 표시됩니다.

    그래서 파일질라에 접속하고 Public_html에 Robots.txt 파일을 찾았고 이것을 삭제했습니다.

    그러면 https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/ → 2-1 화면처럼 보입니다.

    이 상태에서 아무것도 수정하지 않고 저장하면 ‘Robots.txt’ 자동적으로 생성되고 디렉토리에 자동으로 저장이 된다는 것인가요? 설명이 좀 부족한 것 같네요 유튜브 방송자는 말이 너무 빠르고요 핵심적인 내용은 몇 초도 안되는 것 같습니다.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    Rank Math generates robots.txt file on the fly. Thus, there will be no physical robots.txt file you will find on your server’s root directory. And if there’s a physical robots.txt file present in your server’s root directory, then the robots.txt file generated by Rank Math won’t work. Hence, delete any physical robots.txt file present on your server’s root directory to use Rank Math’s robots.txt file.

    For the issue you’re encountering while editing the robots.txt form Rank Math settings is due to a permission issue on your web server.

    Please check if this line exists in your wp-config.php file, as it needs to be set to false so Rank Math can modify your robots.txt file:

    define (‘DISALLOW_FILE_EDIT’, true);
    

    Here is a guide for your reference:
    https://rankmath.com/kb/cant-edit-robots-txt/#robots-txt-file-is-not-writeable

    Let us know how that goes. Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    파일질라 > wp-config.php 파일에 efine (‘DISALLOW_FILE_EDIT’, true); 명령어가 없는 경우도 있나요?

    Hello,

    You need to ensure that directive is set to “false” like so:

    
    define ('DISALLOW_FILE_EDIT', false);

    If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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 3 replies - 1 through 3 (of 3 total)

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