WordPress中文标签伪静态设置方法,以及为什么出错?
来源:互联网 发布:华广软件套餐 编辑:程序博客网 时间:2024/05/20 22:41
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。通过以上两步也就完成了博客页面伪静态的全部步骤了。怎么样,没你想象的那么难吧,赶快自己动手试试吧!
[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。通过以上两步也就完成了博客页面伪静态的全部步骤了。怎么样,没你想象的那么难吧,赶快自己动手试试吧!
- WordPress中文标签伪静态设置方法,以及为什么出错?
- wordpress固定链接设置伪静态后无法访问/出错?
- WordPress简单设置伪静态
- ISAPI_Rewrite设置,wordpress伪静态
- Windows主机-WordPress设置固定链接伪静态的方法
- WordPress站点设置伪静态化
- Win2003 IIS6解决Wordpress伪静态方法
- wordpress 设置静态后标签中中文链接找不到页面的解决方法
- phpcms伪静态设置方法
- discuz伪静态设置方法
- wordpress设置伪静态及设置后出现问题
- Apache如何开启Mod_rewrite模块以及Wordpress伪静态
- Apache如何开启Mod_rewrite模块以及Wordpress伪静态
- 阿里云 服务器 wordpress nginx伪静态设置
- DedeCMS tag标签伪静态的方法
- dedecms伪静态重写规则,和伪静态设置方法
- Windows虚拟主机完美实现wordpress伪静态终极方法
- Windows2003 IIS6完美解决Wordpress伪静态的方法
- 回溯法:N后问题
- Boost asio async_accept memory leak问题分析
- android Intent匹配,自定义action data category
- struts 多语言配置
- (Java)判断回文串,忽略既非字母又非数字的字符
- WordPress中文标签伪静态设置方法,以及为什么出错?
- oracle实现对表dml错误记录日志
- 使用NSOperationQueue简化多线程开发
- 我妈要是知道这些,我早上北大了。
- ubuntu12.04 安装Gearman及其php扩展
- 鼠标经过隐藏图片显示文字
- 北京地铁
- Oracle 端口
- VS 2012 Dotfuscator and Analytics 'j8' 类型初始值设定项引发异常 解决方法