Upstatement / routes

Simple routing for WordPress
188 stars 39 forks source link

Load another page from argument #37

Open kangarko opened 2 years ago

kangarko commented 2 years ago

Hey everyone!

Is it possible to load domain.com/invite?referal=X from typing domain.com/invite/X/?

The only way I got it to work right now is by redirecting ("Location: domain.com/invite?referal=$params["X"]" and exit), the problem is that it is unnecesarily slow and user sees blank page for twice as much time.

Thank you. Matej