Wild card matching in page rule url

Hi, trying to implement a page redirect. And I am not super sure if my wild card matching is correct or not. For example, /sitemap*.xml does it match to /sitemap/abc.xml ? Or just /sitemapabc.xml and /sitemap-abc.xml

Wildcards do not exclude slashes, so that wildcard will also apply to /sitemap/abc.xml.

Translated to a regular expression, it’s essentially .*.

Oh I thought it doesn’t support regular expression. Is it supported now?

“Translated” :slight_smile:

So, no, regular expressions are not supported, only the asterisk.

Ok, so /sitemap.*.xml should work right?

Only if you want to fire for these paths

/sitemap.txt.xml
/sitemap.xml/something.xml

Got it. Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.