Blog伪静态(wp博客) 9年前 (2015-06-15) 阅读(11924) 评论(8) wp博客的伪静态可以新建.htaccess文件,添加如下代码,上传到根目录即可。(针对虚拟主机) # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAM...
BlogWordpress伪静态规则(apache与nginx) 9年前 (2015-03-29) 阅读(3592) 评论(0) 一、Wordpress在apache下的伪静态规则: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ -[L] RewriteCond %{REQUEST_FILENAME}!-f RewriteCond %{REQ...