Page Rule wild card not working as expected

I am writing a page rule but having some issues. The rule is
www.domain.com/dir1*

It works well for:
www.domain.com/dir1 and
www.domain.com/dir1# and
www.domain.com/dir1/dir2 and
www.domain.com/dir1?param=123

It does not work for:
www.domain.com/dir1/ or
www.domain.com/dir1?

What do I need to do for the * to also allow for / and ? characters?

Can you post a screenshot of that rule?

What you described should work in all mentioned cases.

1 Like

Sorry for the delay. I was on vacation for a week.

Here is a screenshot of the actual rule.

Are you on a partner setup? Or is that an Enterprise-ish CNAME setup?

Seems to work for me however

image

@sandro thanks for your help on this. This is enterprise. What we are wanting is to not allow the user to see the experience.vivint.com URL. www.vivint.com/moves and www.vivint.com/moves?param=123 does keep the www.vivint.com url. But you will see www.vivint.com/moves/ or www.vivint.com/moves? will serve the experience.vivint.com/moves url which is not desired. I was assuming the rule of www.vivint.com/moves* should catch the / and ? but it is not for some reason.

I would probably take this to the engineer assigned to your account. They should be able to answer that quicklier. Everything Enterprise-ish is sort of a unicorn here :wink: and most people (including myself) have little experience with settings exclusive to that plan level.

The way I interpret your page rule, it should return the “experience” content while keeping the client on “www”. That partially does work, however the cases you mentioned do send a redirect to “experience”. I am afraid I cant tell whether that originates from that page rule (I wouldnt expect it to do so, but then I am not familiar with that particular setting) or whether that might be a redirect from e.g. your server. Have you made sure you can rule out the latter?

This topic was automatically closed after 14 days. New replies are no longer allowed.