您好,欢迎来到 - 67学习网 - http://www.67xuexi.com !

WordPress中文标签伪静态设置方法,以及为什么出错?

摘要: wp博客我们怎么做才能实现其伪静态呢?想要wp博客支持伪静态其实很简单,在你的服务器支持的前提下仅仅需要两步就可实现。首先新建一个本本文档将以下代码粘贴进去:[ISAPI_Rewrite]# 3600 = 1 hourCacheClockRate 3600RepeatLimit 32# 中文tag解决RewriteRule /tag/(.*) /index.php?tag=$1# Protect httpd.ini and httpd.parse.errors files# from accessing through HTTP# Rules to ensure that normal content gets throughRewriteRule /robots.txt /robots.txt [L]RewriteRule /sitemap.xml /sitemap.xml [L]RewriteRule /favicon.ico /favicon.ico [L]RewriteRule /readme.html /readme.html [L]RewriteRu
WordPress中文标签伪静态设置方法,以及为什么出错?,标签:综合知识,http://www.67xuexi.com

  wp博客我们怎么做才能实现其伪静态呢?想要wp博客支持伪静态其实很简单,在你的服务器支持的前提下仅仅需要两步就可实现。首先新建一个本本文档将以下代码粘贴进去:

  [ISAPI_Rewrite]   # 3600 = 1 hour   CacheClockRate 3600   RepeatLimit 32   # 中文tag解决   RewriteRule /tag/(.*) /index.php?tag=$1   # Protect httpd.ini and httpd.parse.errors files   # from accessing through HTTP   # Rules to ensure that normal content gets through   RewriteRule /robots.txt /robots.txt [L]   RewriteRule /sitemap.xml /sitemap.xml [L]   RewriteRule /favicon.ico /favicon.ico [L]   RewriteRule /readme.html /readme.html [L]   RewriteRule /logo.jpg /logo.jpg [L]   # For file-based wordpress content (i.e. theme), admin, etc.   RewriteRule /wp-(.*) /wp-$1 [L]   # For normal wordpress content, via index.php   RewriteRule ^/$ /index.php [L]   RewriteRule /(.*) /index.php/$1 [L]   然后把该文本文档改名为httpd.ini然后用FTP工具将该文档上传到你的网站根目录下,然后进入网站后台找到:设置—固定连接,建议把固定连接格式设置为/%post_id%.html。通过以上两步也就完成了博客页面伪静态的全部步骤了。怎么样,没你想象的那么难吧,赶快自己动手试试吧!
Tag:综合综合知识知识常识 - 综合