服务热线
1888888888
作者:文煞发布时间:2024-05-27分类:帝国笔记浏览:5248
帝国cms 古诗古籍名句网站源码 全套源码。我本来想弄个售价帖子,但是没看到售价地方,索性直接发吧,反正也没想着转卖,我自己用D盾查了没毒,你们下载自己也看一下,我不懂伪静态规则,没有搭建成功,而且想了想大家都在弄的,我现在上车也晚了,反正钱都花了,不能对不起花的钱,直接分享赚个好名声。虽然淘宝30元就能买了 烂大街的源码没有用,但是总是有需要的朋友!
伪静态规则nginx:
location / { rewrite ^/poetry/([0-9]+)\.html$ /e/action/poetry.php?classid=4&id=$1 last; rewrite ^/poetry/fanyi-([0-9]+)\.html$ /e/action/fanyi.php?classid=4&id=$1 last; rewrite ^/poetry/pinyin-([0-9]+)\.html$ /e/action/pinyin.php?classid=4&id=$1 last; rewrite ^/poetry/shang-([0-9]+)\.html$ /e/action/shang.php?classid=4&id=$1 last; rewrite ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+).html$ $1/e/tags/itag.php?py=$2&page=$3 last; rewrite ^([^\.]*)/gushi/([a-z0-9]+).html$ $1/e/tags/itag.php?py=$2 last; rewrite ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+)/$ $1/e/tags/itag.php?py=$2&page=$3 last; rewrite ^([^\.]*)/gushi/([a-z0-9]+)/$ $1/e/tags/itag.php?py=$2 last; }
.htaccess规则:
RewriteEngine on RewriteRule ^/poetry/([0-9]+)\.html$ /e/action/poetry.php?classid=4&id=$1 [L] RewriteRule ^/poetry/fanyi-([0-9]+)\.html$ /e/action/fanyi.php?classid=4&id=$1 [L] RewriteRule ^/poetry/pinyin-([0-9]+)\.html$ /e/action/pinyin.php?classid=4&id=$1 [L] RewriteRule ^/poetry/shang-([0-9]+)\.html$ /e/action/shang.php?classid=4&id=$1 [L] RewriteRule ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+).html$ $1/e/tags/itag.php?py=$2&page=$3 [L] RewriteRule ^([^\.]*)/gushi/([a-z0-9]+).html$ $1/e/tags/itag.php?py=$2 [L] RewriteRule ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+)/$ $1/e/tags/itag.php?py=$2&page=$3 [L] RewriteRule ^([^\.]*)/gushi/([a-z0-9]+)/$ $1/e/tags/itag.php?py=$2 [L]
分享:
支付宝
微信