We have pages with urls like this:
http://example.com/?page_id=3&user_id=5
http://example.com/?page_id=6&user_id=9
etc.
page_id and user_id located in table MySQL Database. And this table has the below structure:
ID, page_id and user_id
If I know ID I can make query to database and get page_id and user_id.
Question: how to make custom redirect? That user can use ID in short url like this
http://example.com/page/[ID]/
with redirect to
http://example.com/?page_id=[page_id]&user_id=[user_id]
Thank you!