XML Sitemaps Generator

Author Topic: AWESOME product! Just one quick question about excluding dynamic pages  (Read 7220 times)

romg

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
First thing - what a great product!  I'm very pleased with my purchase ;D.  Now, I have numerous dynamic pages that look something like this:

[external links are visible to admins only]
[external links are visible to admins only]
[external links are visible to admins only]
...
...
[external links are visible to admins only]
[external links are visible to admins only]
[external links are visible to admins only]
...
...etc.  I have similar pages under /itemB , /itemC, item/D etc.

I would like to exclude all the pages that have ?page=1

When I type in ?page=1 under the 'Exclude URLs' section, I effectively exclude such pages but unfortunately I also exclude pages that contain a 1, i.e., ?page=10, ?page=11, ?page=12, etc.

Is there a way to write the 'Exclude URLs' section to only exclude pages with ?page=1 and
NOT exclude pages with ?page=10, ?page=11, etc.

Thanks in advance!   

romg

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Okay, I found a solution.  I believe the ? was causing a bit of a problem so I dropped it.  I included some regex and it seems to work.  Using the following in the 'Exclude URLs' section, I'm able to exclude pages that have a url ending in page=1, while including pages like page=10 or page=11 etc.

I included this in 'Exclude URLs' :

page=1($|\/.*)


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10623
Looks good, I'm glad you were able to resolve the issue!
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2