.htaccess 使用

2010年03月5日  |  07:26分类:设计  |  标签:  |  194 views

引用官网的话
Where’s my .htaccess file?
WordPress’s index.php and .htaccess files should be together in the directory indicated by the Blog address (URI) setting on your General Options page. Since the name of the file begins with a dot, the file may not be visible through an FTP client unless you change the preferences of the FTP tool to show all files, including the hidden files. Some hosts (e.g. Godaddy) may not show or allow you to edit .htaccess if you install WordPress through the Godaddy Hosting Connection installation.

这里的关键:

1:.htaccess 的位置,要和你的index.php在一个目录下;

2:保证文件名是.htaccess,注意只有扩展名。很多初学者就是这里糊涂。你可以先在本地生成一个文件,例如 link.htaccess,

然后上传到FTP相应位置。然后将其改为.htaccess.

然后,OK。 欢迎交流

喜欢本文,那就收藏到: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
  • 暂无相关日志

2条评论 关于 “.htaccess 使用”

  1. Blog Hosts 发表于: 三月 5th, 2010 16:49

    Search for the .htaccess file in the root web folder. Blog Hosts

  2. Rock 发表于: 三月 6th, 2010 13:17

    OK Thanks. I use the free web hosting,so I need to create the file.
    Thanks again!


发表您的评论