把原来的WP删除了换的TYPECHO
国产的都是以WIN主机为主开发的,不知道TYP是吗?
用两种主机,性能或其它方面有什么不同吗?哪种更好?
提个建议:后台弄得更酷一点吧。黑色为主更好。
/index.php/mingtianyoushiyichangxindezhengcheng/
这样的链接不太好吧,能弄成WP一样的吗?
http://url/mingtianyoushi/
我用LINUX主机安装的,和WIN和什么不同?
Re: 我用LINUX主机安装的,和WIN和什么不同?
typecho对操作系统没有要求,只要支持php就行,当然php在linux上运行的效率会高些
链接形式,请把“后台->设置->永久链接”里的“是否使用地址重写功能”启用即可
链接形式,请把“后台->设置->永久链接”里的“是否使用地址重写功能”启用即可
Re: 我用LINUX主机安装的,和WIN和什么不同?
把wp的.htaccess抄了来
代码: 全选
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
区别只在rewrite规则最后一行
wordpress
RewriteRule . /index.php [L]
typecho
RewriteRule ^(.*)$ /index.php/$1 [L]
代码: 全选
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
区别只在rewrite规则最后一行
wordpress
RewriteRule . /index.php [L]
typecho
RewriteRule ^(.*)$ /index.php/$1 [L]