WordPress.org

Ready to get started?Download WordPress

Forums

robots.txt question (3 posts)

  1. DNBrawler
    Member
    Posted 1 year ago #

    Suppose I wanted to disallow a certain page that has the url end with:
    /example

    Would that also block all the urls that have this phrase in it's url because I have a whole archive of posts:

    /example/post-name
    /example/post-name-1

    So would it block a single page or a whole archive?

  2. Depends on how you write the robots rule. It can.

  3. DNBrawler
    Member
    Posted 1 year ago #

    I'm not sure how I should write it then. I don't want google to miss a whole archive of posts.

    So should I add a slash at the end or..?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags