Multivalue Route

Is any way that I can create a route like this?

events OR eventos (IN SPANISH). Goes to the same page??

Or I need to create two rules (I want to avoid)

Regards

Hi,

Just remove the brackets from the path expression and you are good to go.

Gabor

Have you tested if what you have on the screenshot works? I think it matches the example when you hover the information icon near “Path”

You need to enter the two options like that:

Screenshot 2023-08-31 at 12.13.08

2 Likes

Thanks as always.

I found a problem when I change the route like this works but when you preview de page from wappler now says on browser page

http://localhost:3000/events%7Ceventos

If I change from the page it update the route panel and update from routes panel updates from the page code.

Do I need to have 2 routes?? what do you recommend me?

I don’t really understand what do you mean.

He means, he clicks this button:
image

And it craps out because his route is like this:
Screenshot 2023-08-31 at 12.13.08

And he asks if he should use separate routes instead, one for /events and another for /eventos

Thats what I mean thanks. But no answer jet.