Answer the question
In order to leave comments, you need to log in
How to make cnc for links (remove unnecessary characters)?
Good!
I have links, like this:
site.ru/?go=53/file.exe
Where 53 is the Id of the file, and at the end is its name.
Tell me how to make the link look something like this:
browsi.ru/go/53/Opera_int_Setup.exe
Or something like that...
The main thing is to remove the question mark and =
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
create a rule in .htaccess to redirect requests matching a regular expression to a specific file, or connect a file using a regular expression.
for example, you can make a handler that will process direct links and issue the desired file, or you can dig deeper with regular expressions and make a direct redirect.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question