index之外的模版可以参考这个设定.
新的blog初步建立完毕, www.example.com/index.php/blog, 如果主机支持mod_rewrite, 可以去掉/index.php, Admin - System Preferences - General Configuration - Name of your site’s index page留空, 并编辑一个.htaccess文件上传到网站根目录:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L] 本文来自 www.444p.com