Answer the question
In order to leave comments, you need to log in
Htaccess: 1234-1-0.jpg -> photo/1/2/3/4/1-0.jpg. Is such a rule possible?
Good afternoon !
I have a folder with many subfolders. Each subfolder also has many subfolders, and so on. The files are at the end.
Please tell me , is it possible to somehow redirect requests like:
site.ru/photo/1234-1-0.jpg using htaccess
to the physical path:
site.ru/photo/1/2/3/4/1- 0.jpg
?
Thanks a lot.
Best regards, Sergei.
Answer the question
In order to leave comments, you need to log in
as far as I remember and understand, you can: for example, mod_rewrite
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question