Support » Plugin: Yoast SEO » Robots.txt and wp-admin Yoast SEO

  • Resolved johnmart

    (@johnmart)


    Hi,

    Using a plugin I changed the wp-admin directory and the wp-login.php page

    For example :
    mywebsite.com/wp-admin -> mywebsite.com/world

    And now with YOAST-SEO plugin in the robots.txt file, should I write

    (1)
    User-agent: *
    Disallow: / wp-admin /
    Allow: /wp-admin/admin-ajax.php

    or

    (2)
    User-agent: *
    Disallow: / world /
    Allow: /world/admin-ajax.php

    • This topic was modified 2 years, 3 months ago by johnmart.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Robots.txt and wp-admin Yoast SEO’ is closed to new replies.