我需要幫助修改我的htaccess文件。我有:.htaccess中給了我太多的重定向
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^phpbb3.*$ http://mydomain.com/phpbb3/ [R=301,L]
RewriteCond %{HTTP_HOST} mydomain.com$
RewriteCond %{REQUEST_URI} !^/wordit
RewriteRule ^(.*)$ http://www.mydomain.com/wordit/$1 [R=302,L]
本來我只用了:
RewriteCond %{HTTP_HOST} mydomain.com$
RewriteCond %{REQUEST_URI} !^/wordit
RewriteRule ^(.*)$ http://www.mydomain.com/wordit/$1 [R=302,L]
,我需要保持。但我不知道如何納入新規則:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^phpbb3.*$ http://mydomain.com/phpbb3/ [R=301,L]
我該如何設置我的重定向格式?
加上'^重寫規則phpbb3的* $ http://mydomain.com/phpbb3/ [R = 301,L]'在結束 – Ibu
我仍然得到。無法打開頁面... – marciokoko