|
近期接了个项目,给客户搬站,并且要求搬站后,新模板和老模板所有的页面一致。
/txt<{$id}>.shtml
/book/<{$class}>_<{$page}>.shtml
RewriteEngine on
RewriteCond %{HTTP_HOST} ^XXX.net [NC,OR]
RewriteCond %{HTTP_HOST} ^www.XXX.net [NC]
RewriteRule ^(.*)$ http://www.BBBBB.com/$1 [L,R=301]
RewriteRule ^book1_([0-9]+).shtml$ /modules/article/articlelist.php?class=1&page=$1
RewriteRule ^book2_([0-9]+).shtml$ /modules/article/articlelist.php?class=2&page=$1
RewriteRule ^book3_([0-9]+).shtml$ /modules/article/articlelist.php?class=3&page=$1
RewriteRule ^book4_([0-9]+).shtml$ /modules/article/articlelist.php?class=4&page=$1
RewriteRule ^book5_([0-9]+).shtml$ /modules/article/articlelist.php?class=5&page=$1
RewriteRule ^book6_([0-9]+).shtml$ /modules/article/articlelist.php?class=6&page=$1
RewriteRule ^book7_([0-9]+).shtml$ /modules/article/articlelist.php?class=7&page=$1
RewriteRule ^book8_([0-9]+).shtml$ /modules/article/articlelist.php?class=8&page=$1
RewriteRule ^book9_([0-9]+).shtml$ /modules/article/articlelist.php?class=9&page=$1
RewriteRule ^book10_([0-9]+).shtml$ /modules/article/articlelist.php?class=10&page=$1
RewriteRule ^xuanhuan_([0-9]+).html$ /modules/article/articlelist.php?class=1&page=$1
RewriteRule ^xianxia_([0-9]+).html$ /modules/article/articlelist.php?class=2&page=$1
RewriteRule ^dushi_([0-9]+).html$ /modules/article/articlelist.php?class=3&page=$1
RewriteRule ^lishi_([0-9]+).html$ /modules/article/articlelist.php?class=4&page=$1
RewriteRule ^wangyou_([0-9]+).html$ /modules/article/articlelist.php?class=5&page=$1
RewriteRule ^kehuan_([0-9]+).html$ /modules/article/articlelist.php?class=6&page=$1
RewriteRule ^lingyi_([0-9]+).html$ /modules/article/articlelist.php?class=7&page=$1
RewriteRule ^qita_([0-9]+).html$ /modules/article/articlelist.php?class=8&page=$1
RewriteRule ^paihang/([a-z]+)_([0-9]+).html$ /modules/article/toplist.php?sort=$1&page=$2
RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)/([0-9]+)$ /modules/article/reader.php?aid=$2
RewriteRule ^txt([0-9]+).shtml$ /modules/article/reader.php?aid=$1
RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
RewriteRule ^modules/article/templates/$ 404.html
RewriteRule ^templates/(.*).html$ 404.html
RewriteRule ^themes/17mb/(.*).html$ 404.html
RewriteRule ^17mb/(.*).html$ 404.html
RewriteRuleEngine on
RewriteCond %{HTTP_HOST} ^m.oioj.net [NC,OR]
RewriteRule ^(.*)$ http://m.biqucun.com/$1 [L,R=301]
RewriteRule ^/top.html$ /top.php
RewriteRule ^/top-([a-z]+)-([0-9]+)/$ /top.php?type=$1&page=$2
RewriteRule ^/sort.html$ /sort.php
RewriteRule ^/sort-([0-9]+)-([0-9]+)/$ /sort.php?sortid=$1&page=$2
RewriteRule ^/book([0-9]+)_([0-9]+).shtml$ /sort.php?sortid=$1&page=$2
RewriteRule ^/full/$ /full.php?page=1
RewriteRule ^/full-([0-9]+)/$ /full.php?page=$1
RewriteRule ^/([0-9]+)/([0-9]+)$ /info.php?aid=$2
RewriteRule ^/([0-9]+)/([0-9]+)/$ /info.php?aid=$2
RewriteRule ^/all/([0-9]+)/$ /chapterlist.php?aid=$1&page=1
RewriteRule ^/([0-9]+)/([0-9]+)_([0-9]+)/$ /chapterlist.php?aid=$2&page=$3
RewriteRule ^/all/([0-9]+)_([0-9]+)/$ /chapterlist.php?aid=$1&page=$2
RewriteRule ^/wapbook-([0-9]+)_([0-9]+)/$ /chapterlist.php?aid=$1&page=$2
RewriteRule ^/wapbook-([0-9]+)_([0-9]+)_1/$ /chapterlist.php?aid=$1&page=$2&desc=1
RewriteRule ^/([0-9]+)/([0-9]+)/([0-9]+).html$ /chapter.php?aid=$2&cid=$3
RewriteRule ^/author/(.*)$ /author.php?author=$1
RewriteRule ^/17mb/templates/$ /404.html
RewriteRule ^/17mb/templates/(.*)$ /404.html
|
|