D
D
des1roer2015-06-30 08:25:05
Yii
des1roer, 2015-06-30 08:25:05

Yii 2 advanced rule for backend and frontend?

Is it possible to set up back and front using url manager and rule?
to
mysite\frontend\web\ => mysite
mysite\backend\web\ => mysite\admin

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-06-30
@matperez

No, they have different entry points. You can try using rewrite at the web server level. The easiest way is to hang up the admin panel in such a structure at the address admin.site.com.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question