[导读]:# BEGIN IfModule mod_rewrite.c RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{http_...
# BEGIN
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{http_host} ^tjhukou.com [NC]
RewriteRule ^(.*)$ http://www.tjhukou.com/$1 [L,R=301]
</IfModule>
# END
目前我的.htaccess里是这些,想让前辈给看看,有没有问题,有没有可优化的。
正确的,
###
站长工具里看下301生效了没
本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/45919.html
