N
N
No Name2021-06-13 12:49:48
PHP
No Name, 2021-06-13 12:49:48

How to redirect from a directory to a page with a get request?

I want to make a link shortener on the site. How can I make it so that from the page https://example.com/test (there is no such folder) there is a redirect to https://example.com/link.php?short=test ?
And if you put any other word instead of 'test', then the same thing happened.
Googling didn't help.
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question