我爱导航系统美化版源码网址导航系统带后台-【全开源】

基于SiteHub二次开发的开源免费的网址导航系统,拥有独立前台和拟态风格的后台管理中心。

我爱导航系统集合网上优质网站网址导航,支持前台自主提交收录、自动获取TDK与网站Icon与后端审核管理,涵盖网站收录和文章发布等。

宝塔搭建:

运行环境:Nginx 1.26.1

数据库:MySQL 5.7.44

php版本:PHP 7.4

Nginx伪静态:

rewrite ^/index.html$ /index.php last;

rewrite ^/about.html$ /about.php last;

rewrite ^/search.html$ /search.php last;

rewrite ^/ranking.html$ /ranking.php last;

rewrite ^/apply.html$ /apply.php last;

rewrite ^/404.html$ /404.php last;

rewrite ^/category-([1-9]+[0-9]*).html /category.php?id= 1 l a s t ; r e w r i t e / c a t e g o r y − ( \[ a − z A − Z \] + ) . h t m l 1 last; rewrite \^/category-(\[a-zA-Z\]+).html 1last;rewrite/category−(\[a−zA−Z\]+).html /category.php?alias= 1 l a s t ; r e w r i t e / s i t e − ( \[ 1 − 9 \] + \[ 0 − 9 \] ∗ ) . h t m l 1 last; rewrite \^/site-(\[1-9\]+\[0-9\]\*).html 1last;rewrite/site−(\[1−9\]+\[0−9\]∗).html /site.php?id= 1 l a s t ; r e w r i t e / a r t i c l e . h t m l 1 last; rewrite \^/article.html 1last;rewrite/article.html /article.php last; rewrite \^/article-list-(\[1-9\]+\[0-9\]* ).html /article_list.php?id= 1 l a s t ; r e w r i t e / a r t i c l e − ( [ 1 − 9 ] + [ 0 − 9 ] ∗ ) . h t m l 1 last; rewrite ^/article-([1-9]+[0-9]*).html 1last;rewrite/article−([1−9]+[0−9]∗).html /article_show.php?id= 1 l a s t ; r e w r i t e / i m g / f a v i c o n / ( . ∗ ) 1 last; rewrite ^/img/favicon/(.*) 1last;rewrite/img/favicon/(.∗) /favicon.php?url= 1 l a s t ; r e w r i t e / i m g / f a v i c o n / ( . ∗ ) . p n g 1 last; rewrite ^/img/favicon/(.*).png 1last;rewrite/img/favicon/(.∗).png /favicon.php?url= 1 l a s t ; r e w r i t e / i m g / p r e v i e w / ( . ∗ ) . p n g 1 last; rewrite ^/img/preview/(.*).png 1last;rewrite/img/preview/(.∗).png /preview.php?url= 1 l a s t ; l o c a t i o n " / i m g / f a v i c o n / ( [ / ] + ) / ? . p n g 1 last; location ~ "^/img/favicon/([^/]+)/?.png 1last;location "/img/favicon/([/]+)/?.png" {

try_files / u r i / uri / uri/uri/ /favicon.php?url=KaTeX parse error: Expected 'EOF', got '}' at position 4: 1; }̲ location ~ "^/..." {

try_files / u r i / uri / uri/uri/ /preview.php?url=$1;

}

Apache伪静态:

RewriteEngine On

RewriteBase /

RewriteRule ^index.html index.php [L,NC]

RewriteRule ^about.html about.php [L,NC]

RewriteRule ^search.html search.php [L,NC]

RewriteRule ^ranking.html ranking.php [L,NC]

RewriteRule ^article.html article.php [L,NC]

RewriteRule ^apply.html apply.php [L,NC]

RewriteRule ^404.html 404.php [L,NC]

RewriteRule ^category-([0-9]+).html category.php?id=$1 [L,NC]

RewriteRule ^category-([a-zA-Z]+).html category.php?alias=$1 [L,NC]

RewriteRule ^site-([0-9]+).html site.php?id=$1 [L,NC]

RewriteRule ^article-list-([0-9]+).html article_list.php?id=$1 [L,NC]

RewriteRule ^article-([0-9]+).html article_show.php?id= 1 [ L , N C ] R e w r i t e R u l e i m g / f a v i c o n / ( . ∗ ) p ˙ n g 1 [L,NC] RewriteRule ^img/favicon/(.*)\.png 1[L,NC]RewriteRuleimg/favicon/(.∗)p˙ng favicon.php?url= 1 [ L , N C ] R e w r i t e R u l e i m g / p r e v i e w / ( . ∗ ) p ˙ n g 1 [L,NC] RewriteRule ^img/preview/(.*)\.png 1[L,NC]RewriteRuleimg/preview/(.∗)p˙ng preview.php?url=$1 [L,NC]

前端图:


后端图:



导航系统美化版源码网址导航系统带后台-【全开源】

相关推荐
M ? A5 小时前
你的 Vue 3 响应式状态,VuReact 如何生成 React Hooks 依赖数组?
前端·javascript·vue.js·经验分享·react.js·面试·vureact
FlyWIHTSKY5 小时前
HTML 中 `<span>` 和 `<div>` 详细对比
前端·html
农村小镇哥5 小时前
PDO介绍+PDO增删改查+PDO事物处理+DPO封装类
php
competes5 小时前
React.js JavaScript前端技术脚本运行框架。程序员进行研发组项目现场工作落地的一瞬之间适应性恒强说明可塑性强度达到应用架构师的考核标准
前端·javascript·人工智能·react.js·java-ee·ecmascript
2401_832635585 小时前
踩坑分享IntelliJ IDEA 打包 Web 项目 WAR 包(含 Tomcat 部署 + 常见问题解决)
前端·tomcat·intellij-idea
Evavava啊5 小时前
Android WebView 中 React useState 更新失效问题
android·前端·react.js·渲染
恋恋风尘hhh5 小时前
Web 端请求签名机制分析:以小红书(XiaoHongShu)x-s 参数为例
前端
包子源5 小时前
React-PDF 与 Web 预览「像素级」对齐实践
前端·react.js·pdf
Rust研习社5 小时前
Rust Default 特征详解:轻松实现类型默认值
开发语言·后端·rust
jiayong235 小时前
第 25 课:给学习笔记页加上搜索、标签筛选和 URL 同步
开发语言·前端·javascript·vue.js·学习