Answer the question
In order to leave comments, you need to log in
Redirect via RewriteRule to a folder with files. How?
The site has moved to a new engine.
On the old engine there were links to instructions of the form /instruction.php?instr=blabla.pdf
On the new engine there is no instruction.php file, the instruction files are in the /media/ folder
How to redirect from /instruction.php?instr=blabla.pdf
to ZY using /media/blabla.pdf
RewriteRule . The file names can be different, that is, a template is needed
Did it this way, does not workRewriteRule ^instruction.php?instr=(.*)$ media/$1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question