Regex in "Parse ONLY" URLs:
« on: January 05, 2019, 12:02:24 PM »
I want used option which generate link in sitemap only with select strings.

This is 2 strings....
Code: [ External links are visible to forum administrators only ]
b-0-67 regular expression ^[b]-[0-9]*-[0]$
b-30-0 regular expression ^[b]-[0]-[0-9]*$

but not work ;/
I need help in create regular expression
« Last Edit: January 05, 2019, 12:08:10 PM by krzysztof.kif »
Re: Regex in "Parse ONLY" URLs:
« Reply #1 on: January 05, 2019, 12:32:09 PM »
Hello,

if you want to define which URLs should be included in sitemap you need to use "Include only" setting instead of "Parse only".
Re: Regex in "Parse ONLY" URLs:
« Reply #2 on: January 05, 2019, 01:21:59 PM »
I change on "Include only"

Code: [ External links are visible to forum administrators only ]
^[b]-[0-9]*-[0]$ ^[b]-[0]-[0-9]*$
but not work
Re: Regex in "Parse ONLY" URLs:
« Reply #3 on: January 05, 2019, 01:44:20 PM »
Did you recreate sitemap after that?
Re: Regex in "Parse ONLY" URLs:
« Reply #4 on: January 05, 2019, 02:00:23 PM »
Yes.
i send you on pw with data to logged my sitemap generate. You can check?
« Last Edit: January 05, 2019, 02:03:09 PM by krzysztof.kif »
Re: Regex in "Parse ONLY" URLs:
« Reply #5 on: January 05, 2019, 02:58:26 PM »
Hello,

correct would be:
Code: [ External links are visible to forum administrators only ]
/[b]-[0-9]*-[0]$ /[b]-[0]-[0-9]*$
Re: Regex in "Parse ONLY" URLs:
« Reply #6 on: January 05, 2019, 03:24:44 PM »
I checked but index in sitemaps with strings "b-50-67" I want index with b-0-67 or b-50-0
Re: Regex in "Parse ONLY" URLs:
« Reply #7 on: January 05, 2019, 05:41:08 PM »
I just checked and it's not included in sitemap from what I see.
Re: Regex in "Parse ONLY" URLs:
« Reply #8 on: January 05, 2019, 05:47:16 PM »
how to do it?
Re: Regex in "Parse ONLY" URLs:
« Reply #9 on: January 06, 2019, 12:53:38 PM »
Now is ok:)