dale3

*
  • *
  • 16
Excluding pages from sitemap
« on: August 13, 2017, 06:52:09 AM »
I have a lot of pages which I don't need to be indexed. Many of these are in bbpress (wordpress forums).

1. In this example....

[ External links are visible to forum administrators only ]

Is there a way to exclude any pages which include "?acpage="

2. In this example...

embed?url=https%3A%2F%2Fwww.mysite.com%2Fgrow%2guide-you%2F&format=xml

Is there a way to exclude any pages which include "embed?url="

Thanks for any suggestions.
Re: Excluding pages from sitemap
« Reply #1 on: August 13, 2017, 07:23:48 AM »
Hello,

1. you can add this in Exclude URLs setting:
?acpage=

2. and this:
embed?url=

dale3

*
  • *
  • 16
Re: Excluding pages from sitemap
« Reply #2 on: August 13, 2017, 07:51:50 AM »
Thank you very much. Also, if I have a url like this....

[ External links are visible to forum administrators only ]

...is there a way to exclude /page and anything after page?

This way, the first topic will post, but not all the pages of the topic.

Thanks for any suggestions.

dale3

*
  • *
  • 16
Re: Excluding pages from sitemap
« Reply #3 on: August 13, 2017, 08:03:01 AM »
In other words, if a url has...

/page/

...anywhere in it, is there a way to exclude this url?
Re: Excluding pages from sitemap
« Reply #4 on: August 14, 2017, 05:03:26 AM »
Similar to the above, you would add this in Exclude URLs setting:
/page/