S
S
Soo2018-07-16 12:11:03
Yii
Soo, 2018-07-16 12:11:03

Yii2, how to remove the word site in CNC links?

Kindest!
After turning on the CNC addresses, for some reason instead /web/index.php?r=site%2Faboutof becoming addresses of type /site/about
1. How to remove the word "site"?
2. How to include css and bootstrap plugins that are in standard places?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-07-16
@Soo

After enabling CNC addresses, for some reason, instead of /web/index.php?r=site%2Fabout, addresses like /site/about became

For this, they turn on the CNC, so that they become so
configure url manager like so:
and what are they doing here? With them, everything should be the same as without CNC

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question