请直接新建1个txt文档,再复制虚横线之下的代码内容,粘贴到txt文档里面保存后,再修改文档文件名为httpd.ini就可以了。将httpd.ini文件直接上传到菜菜互联FTP空间的WEB文件夹根目录下,最后在固定链接中设置为自己想要的即可使用。经过菜菜互联的空间测试暂时没有错误,其他空间商的服务器不一定能正常使用。
--------------------------------------------------------------------------------------------------------------------------------------------------------
[ISAPI_Rewrite]
# 3600 = 1 hourCacheClockRate 3600RepeatLimit 32# Protect httpd.ini and httpd.parse.errors files# from accessing through HTTP# Rules to ensure that normal content gets through
RewriteRule /sitemap.xml /sitemap.xml [L]RewriteRule /favicon.ico /favicon.ico [L]# For file-based wordpress content (i.e. theme),admin,etc.RewriteRule /wp-(.*) /wp-$1 [L]# For normal wordpress content,via index.PHPRewriteRule ^/$ /index.PHP [L]RewriteRule /(.*) /index.PHP/$1 [L]