首页 » 建站技术 » WordPress » 浏览内容

替换 .htaccess 为 WordPress 提速


2012-06-24 14:42:37 2,408 0 发表评论 字体: 作者:C.K.

体验版 88 元,个人版 128 元,多用户版 288元个人版160元升级到多用户版。
# BEGIN WordPress
  • RewriteEngine on
  • #
  • # Unless you have set a different RewriteBase preceding this
  • # point, you may delete or comment-out the following
  • # RewriteBase directive:
  • RewriteBase /
  • #
  • # if this request is for "/" or has already been rewritten to WP
  • RewriteCond $1 ^(index\.php)?$ [OR]
  • # or if request is for image, css, or js file
  • RewriteCond $1 \.(gif|jpg|css|js|ico)$ [NC,OR]
  • # or if URL resolves to existing file
  • RewriteCond %{REQUEST_FILENAME} -f [OR]
  • # or if URL resolves to existing directory
  • RewriteCond %{REQUEST_FILENAME} -d
  • # then skip the rewrite to WP
  • RewriteRule ^(.*)$ - [S=1]
  • # else rewrite the request to WP
  • RewriteRule . /index.php [L]
  • #
  • # END wordpress

    网站统计 Statistics

    • 创建时间: 2005年1月3日 距今5041 天
    • 日志总数: 2461
    • 评论总数: 630
    • 标签总数: 654
    • 链接总数: 273
    • 最后更新: 2018-8-31 17:57:04
    • 您是本站第 14063236 位访客

    广告区 Guǎng Gào