0
我想知道是否有可能使用404錯誤和301重定向在相同的.htaccess這樣的組合誤差404。對於404錯誤,這些是針對「遺留」的與重定向301
如果301沒有規則,404錯誤適用或301跳轉會被跳過,是否可以這樣使用?
Redirect 301 /webdesign.html http://www.friesecomputerservice.nl
Redirect 301 /Home.html http://www.friesecomputerservice.nl
Redirect 301 /computerapk.html http://www.friesecomputerservice.nl/computer-apk.html
Redirect 301 /laptopreparatie.html http://www.friesecomputerservice.nl/laptop-reparatie.html
Redirect 301 /logoweb20.html http://www.friesecomputerservice.nl
Redirect 301 /partners.html http://www.friesecomputerservice.nl
Redirect 301 /tragecomputeroflaptop.html http://www.friesecomputerservice.nl/computer-apk.html
RewriteEngine On
RewriteBase/
RewriteCond %{QUERY_STRING} .
RewriteRule ^index.php http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^tag http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^component http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Artikel http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^All-in-One http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Intel http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^AMD http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Norton http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^3.5-inch http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Acer http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Toshiba http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Linksys http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^2.5-inch http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^DDR2 http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Geluidskaarten http://www.friesecomputerservice.nl [R=301,L]
RewriteRule ^Kaspersky http://www.friesecomputerservice.nl [R=301,L]
ErrorDocument 404 /index.html
很好的幫助,謝謝! – Chris 2010-03-02 20:11:11