自适应各终端懒人网址导航好看模版与导航源码
环境: php5.5左右吧+mysql
先导入数据库文件db/db.sql
再修改config.php数据库配置
然后服务器设置好伪静态规则
访问网站OK
后台是:你的域名/admin/login.phx s l a D 9 C ;p 账号:admin 密码:qqqqqq
如有不懂不会问题的话请加QQ群:248078808 交流获取7 l 5 y Y q U M帮助
Ng= i C 5 ( 9 [ )inx伪静态规则
rewritY * ! p n –e ^/index.ht@ k P m _ { ;ml$ /index.php;
rewrite ^/about.html$ /– % J 9 !about.php;
rewrite ^/D N Z , 1 1search.html$ /search.php;
rewrite ^/apply.html$ /apply.L 4 i : q 7 Q @php;
rewritF N }e ^/404.html$ /404.php;
rewrite ^/sort([1-9]+[0-9]*).html$ /sort.php?id=$1;
rewrite@ 8 – – ^/sort([a-zA-Z]+).html$ /sort.php?alias=$1;
rewrite ^/site-([1-9]+[0-9]*).html$ /site.php?id=$1;D d ) / `
Apache的伪6 ( ~ w e l静态规则
Re0 G wwriteEngine On
rewritebase /
RewriteRuleg H ^ y Q u ^index.html /in9 d c N W ?dex.php [L,NC]
RewriteRule ^D _ 8about.html about.php [L,NC]
RewriteRule ^search.html search.php [L,NC]
RewriteRn D | – j d ! / Kule ^apply.html apply.php [L,NC]
RewriteRule ^404.html 404.php [L,NC]
RewriteRule ^sort([0-9]+).hh – F 0 ^tml so: , r h l s w Yrt.php?id=$1 [L,NC]
RewriteRule ^sort([a-zA-Z]+).html sort.php?alias=$1 [L,NC]
RewriteRule ^site-G Q o |([0-9]+).html site.php?id=$1 [L,NC]