I
I
iZEvg2016-07-30 18:19:04
Nginx
iZEvg, 2016-07-30 18:19:04

How to combine Rewrite rules for their correct interaction?

Good afternoon.
There is : an address routing mechanism that redirects any request like mysite.ru/page to mysite.ru/index.php?address=page , which subsequently dynamically loads the page.php page from the display directory (layouts) into the main content area of ​​the page.
It is necessary : ​​to implement a translation for one of the pages of the mysite.ru/edit/something type in mysite.ru/edit?param=something , which would pass the param parameter to the edit.php loadable display .
Essence of the question : is the described action possible, or will it have to be passed to index.phpone more parameter for its further transfer to the layout necessary for the friend via internal routing?

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