Forum Academy Marketplace Showcase Pricing Features

[solved] Redirect when url doesn't contain unique id

Is there a way to redirect when user goes to a page but doesn’t include the unique id for the data that is to be displayed?
So if a user just enters www.example.com/booking/ (when what you really want is an url with the unique booking-ID after the / ) lets say he should be redirected to /inbox/ .

I guess it should be something like “When page is loaded and this url doesn’t contain [xxxx]” but I couldn’t find the exact way to do it.

You can check if the pages thing is empty on page load no?

1 Like

I have something similar. I used When condition is true. “sellerid” is my parameter name.

So yours would be: When Get booking-id from page URL is empty.

1 Like

Thanks, that worked great. :slight_smile:

1 Like