本博客已启用伪静态

WordPress设置伪静态还是很方便的

安装插件:

WP No Category Base

去掉分类

 

然后:设置-固定连接-自定义

/%postname%.html

 

最后添加上传 .htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

搞定

 

Related post

  1. NO IMAGE
  2. NO IMAGE
  3. NO IMAGE
  4. NO IMAGE
  5. NO IMAGE
  6. NO IMAGE

There are no comment yet.

HTML tag cannot be used in this comment.