上一篇
Multicraft下如何实现伪静态
- 教程
- 2021-09-19
- 1555
伪静态的作用主要是对搜索引擎友好
伪静态只是改变了URL的表现形式,实际上还是动态页面
还有其他的作用等等
修改之前链接的形式
接下来进入
/var/www/html/protected/config/internal
取出application.php文件
找到
// uncomment the following to enable URLs in the format index.php/server/1 /*’urlFormat’=>’path’,*/ // uncomment the following to hide the index.php part of the URL /*’showScriptName’=>false,*/
改成
// uncomment the following to enable URLs in the format index.php/server/1 'urlFormat'=>'path', // uncomment the following to hide the index.php part of the URL 'showScriptName'=>false,
保存,上传到服务器
效果图
本文由旅行者于2021-09-19发表在土豆MC,如有疑问,请联系我们。
本文链接:https://www.tudoumc.com/post/375.html
您需要 登录账户 后才能发表评论