发现百度的站长平台(http://zhanzhang.baidu.com/)终于能用了,然后“网站改版”功能可以实现在链接样式改变后让百度重新抓取替换掉旧收录,从而避免出现不同Url同一内容的情况。。虽然可能意义不大。。。
整理出这份表格真心是很蛋疼的行为,,而且z-blog的动态列表页都是用的ID,伪静态后有些使用了中文,做不到真正的对应,,正则的练习行为吧,,发现Notepad++不支持后发断言??
z-blog的伪静态机制不太科学。。开启伪静态后原来的一些动态链接就不能访问了。。而且日历模块中的链接仍然是动态的。。
--【备忘】纠结的Z-Blog伪静态--
规则1 | |
^www\.wdssmq\.com/catalog.asp\?page=([0-9]+)$ | www.wdssmq.com/page/\1/ |
www.wdssmq.com/catalog.asp?page=2 | www.wdssmq.com/page/2/ |
www.wdssmq.com/catalog.asp?page=3 | www.wdssmq.com/page/3/ |
规则2 | |
^www\.wdssmq\.com/catalog.asp\?cate=(.*)&page=([0-9]+)$ | www.wdssmq.com/category/\1/\2/ |
www.wdssmq.com/catalog.asp?cate=1&page=3 | www.wdssmq.com/category/1/3/ |
www.wdssmq.com/catalog.asp?cate=2&page=4 | www.wdssmq.com/category/2/4/ |
规则3 | |
^www\.wdssmq\.com/catalog.asp\?cate=(.*)$ | www.wdssmq.com/category/\1/ |
www.wdssmq.com/catalog.asp?cate=7 | www.wdssmq.com/category/7/ |
www.wdssmq.com/catalog.asp?cate=8 | www.wdssmq.com/category/8/ |
规则4 | |
^www\.wdssmq\.com/catalog.asp\?auth=(.+)&page=([0-9]+)$ | www.wdssmq.com/author/\1/\2/ |
www.wdssmq.com/catalog.asp?auth=沉冰浮水&page=3 | www.wdssmq.com/author/沉冰浮水/3/ |
www.wdssmq.com/catalog.asp?auth=沉冰浮水&page=4 | www.wdssmq.com/author/沉冰浮水/4/ |
规则5 | |
^www\.wdssmq\.com/catalog.asp\?auth=(.*)$ | www.wdssmq.com/author/\1/ |
www.wdssmq.com/catalog.asp?auth=沉冰浮水 | www.wdssmq.com/author/沉冰浮水/ |
www.wdssmq.com/catalog.asp?auth=用户名 | www.wdssmq.com/author/用户名/ |
规则6 | |
^www\.wdssmq\.com/catalog.asp\?tags=(.*)&page=([0-9]+)$ | www.wdssmq.com/tag/\1/\2/ |
www.wdssmq.com/catalog.asp?tags=电影&page=2 | www.wdssmq.com/tag/电影/2/ |
www.wdssmq.com/catalog.asp?tags=动画&page=3 | www.wdssmq.com/tag/动画/3/ |
规则7 | |
^www\.wdssmq\.com/catalog.asp\?tags=(.*)$ | www.wdssmq.com/tag/\1/ |
www.wdssmq.com/catalog.asp?tags=纠结 | www.wdssmq.com/tag/纠结/ |
www.wdssmq.com/catalog.asp?tags=冷笑话 | www.wdssmq.com/tag/冷笑话/ |
规则8 | |
^www\.wdssmq\.com/catalog.asp\?date=([0-9\-]+)&page=([0-9]+)$ | www.wdssmq.com/date/\1/\2/ |
www.wdssmq.com/catalog.asp?date=2013-7-2&page=8 | www.wdssmq.com/date/2013-7-2/8/ |
www.wdssmq.com/catalog.asp?date=2013-7&page=9 | www.wdssmq.com/date/2013-7-/9/ |
规则9 | |
^www\.wdssmq\.com/catalog.asp\?date=([0-9\-]+)$ | www.wdssmq.com/date/\1/ |
www.wdssmq.com/catalog.asp?date=2013-8-2 | www.wdssmq.com/date/2013-8-2/ |
www.wdssmq.com/catalog.asp?date=2013-8 | www.wdssmq.com/date/2013-8/ |