• Hi,

    I am a wordpress developer and I want to kndow more about security.

    In robots.txt, shall we add

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    Sitemap: siteurl/sitemap.xml
    Allow: /wp-content/uploads/
    Disallow: /wp-content/plugins/
    Disallow: /readme.html
    Disallow: /wp-login.php/?action=lostpassword
    Disallow: /wp-login.php

    If this is not right method, what directives need to implement for security

    • This topic was modified 4 months, 4 weeks ago by wpbackend.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.