简体   繁体   中英

How to add folder to yii project (yii folder exception)

I have a Yii project running on website.com and need to add a static folder with static HTML files in it so it will look like this:

  • website.com/faq/index.html
  • website.com/faq/howto.html

Right now, when I just create a folder and index.html file, it shows the standard yii page that page does not exist.

Is there an exception to ignoring a specific folder as a Yii project?

Any hint and help are appreciated.

Thank you

First add folder like fag inside views folder,then create controller to route webs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM