Emlog默许不能生成静态文件,不过彷佛有生成静态页面的相干插件,该插件舍力就先不研讨,本日给人人分享一下Emlog在种种环境下的伪静态划定规矩,人人都晓得,经由过程伪静态能够让 博客文章网址变得对搜索引擎越发友爱,据网上的seoer们说,好的伪静态有利于 搜索引擎优化,详细有无博主可本身去讨论。 注:伪静态必需空间支撑且在背景-设置中开启伪静态。
IIS6:(iis6主机请联络主机商修正划定规矩,部份主机支撑httpd.ini,请将以下代码保存为httpd.ini或许下载附件中的httpd.ini上传到博客根目录)
[ISAPI_Rewrite]# 3600 = 1 hourCacheClockRate 3600RepeatLimit 32RewriteRule /robots.txt(.*) /robots.txt$1 [L]RewriteRule /rss.php(.*) /rss.php$1 [L]RewriteRule /tb.php(.*) /tb.php$1 [L]RewriteRule /favicon.ico /favicon.ico [L]RewriteRule /xmlrpc.php(.*) /xmlrpc.php$1 [L] RewriteRule /wlwmanifest.xml /wlwmanifest.xml [L] RewriteRule /(t|m)$ /$1/ [R]RewriteRule /(admin|content|include|t|m)/(.*) /$1/$2 [L]RewriteRule /install.php(.*) /install.php$1 [L]RewriteRule /emlog_toolkit.php(.*) /emlog_toolkit.php$1 [L]RewriteRule /up(d.d.d)to(d.d.d).php(.*) /up$1to$2.php$3 [L]RewriteRule ^/$ /index.php [L]RewriteRule /(.*) /index.php/$1 [L]支撑.htaccess的IIS6服务器划定规矩:
RewriteEngine onRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule .* index.php/$0 [L]

评论列表