点击购买
朋友们期待自己的主机支持自定义.htaccess文件(customize .htaccess file)吗?大多数的PHP开源脚本中都会用到.htaccess文件,来实现url重定向(url rewrite),有利于搜索引擎优化。.htaccess文件是apache服务器下的一个重要功能,bluehost主机支持自定义.htaccess文件,主要功能如下:
点击购买
1、url重定向、用户重定向(url redirection & user redirection) – 有得搜索引擎优化(seo)
2、文件夹或目录密码保护(password protect folder or directory) – 例如密码保护网站管理入口,录提高网站的安全性
3、自定义错误页和重定向(custom error pages and redirection) – 为访客提供更加友好的错误页
4、更改、隐藏文件扩展名(changing file extensions & hide file extension)
5、禁止、允许某一类的IP地址的访问(banning users by certian IP addresses & allow users with certain IP addresses)
6、阻止目录浏览(stop/prevent directory listing)
bluehost主机支持自定义.htaccess文件(customize .htaccess file)和重写.htaccess文件(.htaccess overwrite),addon domain(附加域名)的网站也可以使用.htaccess文件,只需要将.htaccess文件上传到主域名网站的目录public_html或者addon domain的目录下,刷新网页,马上就会生效,无需重新apache服务器。
点击购买
标签: bluehost htaccess











