系统介绍
优茗导航系统是一款实用且美观的网站导航解决方案,通过幽络源的分享,希望能够帮助大家快速搭建自己的导航网站
- 精美UI设计:前端界面美观大方,用户体验优良
- 完整后台管理:支持分类管理、内容管理、用户管理等
- 全开源代码:无加密,可自由二次开发
- SEO友好:内置伪静态规则,优化搜索引擎收录
搭建教程
测试环境:Nginx + PHP7.4 + MySQL5.7
- 上传源码:将下载的源码上传至网站根目录
- 配置数据库:修改includes/database.php文件中的数据库连接信息
- 设置伪静态:在Nginx配置中添加以下规则:
rewrite ^/index\.html$ /index.php last;rewrite ^/ranking\.html$ /ranking.php last;rewrite ^/ranking/(\d+)\.html$ /ranking.php?category_id=$1 last;rewrite ^/shoulu\.html$ /shoulu.php last;rewrite ^/article\.html$ /wenzhan.php last;rewrite ^/go\.html$ /go.php last;rewrite ^/go/(\d+)\.html$ /go.php?id=$1 last;rewrite ^/article/(\d+)\.html$ /article.php?id=$1 last;rewrite ^/articles/category/(\d+)/page/(\d+)\.html$ /wenzhan.php?category=$1&page=$2 last;rewrite ^/articles/category/(\d+)\.html$ /wenzhan.php?category=$1 last;rewrite ^/articles/page/(\d+)\.html$ /wenzhan.php?page=$1 last;rewrite ^/articles\.html$ /wenzhan.php last;rewrite ^/ad\.html$ /guanggao.php last;rewrite ^/ad/buy/([a-z]+)/(\d+)\.html$ /guanggao.php?type=$1&position=$2 last;rewrite ^/user-center\.html$ /user-center.php last;rewrite ^/category/(\d+)/search/(.+)/page/(\d+)\.html$ /fenleiye.php?id=$1&search=$2&page=$3 last;rewrite ^/category/(\d+)/search/(.+)\.html$ /fenleiye.php?id=$1&search=$2 last;rewrite ^/category/(\d+)/page/(\d+)\.html$ /fenleiye.php?id=$1&page=$2 last;rewrite ^/category/(\d+)\.html$ /fenleiye.php?id=$1 last; rewrite ^/category/search/(.+)/page/(\d+)\.html$ /fenleiye.php?search=$1&page=$2 last;rewrite ^/category/search/(.+)\.html$ /fenleiye.php?search=$1 last;rewrite ^/category/page/(\d+)\.html$ /fenleiye.php?page=$1 last;rewrite ^/category\.html$ /fenleiye.php last;rewrite ^/site/(\d+)\.html$ /site-detail.php?id=$1 last;rewrite ^/user_portal/(\d+)\.html$ /user_portal.php?id=$1 last;
访问后台:- 后台地址:http://你的域名/admin默认账号:admin默认密码:123456
- 这套导航系统源码在幽络源码网上可以免费获取,安装过程简单,即使是初学者也能快速上手。系统运行稳定,适合长期使用。




资源下载
付费下载
小额支持,帮助站长分担服务器成本,让优质资源持续更新~
🔒
发表评论