OpenCart - htaccess不工作 - 没有重定向301

时间:2015-07-30 14:13:34

标签: .htaccess redirect opencart

我有这个htaccess,但301重定向不起作用。

Options +FollowSymlinks

# SEO URL Settings
RewriteEngine On
RewriteBase /shop/

RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

我想重定向一个基本网址,但它不起作用,我找不到" 404页面" -Message。

我测试了以下内容,但没有任何效果。

Redirect 301 ^test123$ http://www.domain.com/shop/notebook-reparatur/acer
Redirect 301 /test123 http://www.domain.com/shop/notebook-reparatur/acer
RewriteRule ^test123.*$ http://www.domain.com/shop/notebook-reparatur/acer/ [R]

任何人都可以帮助我解决我的基本问题,我不能理解为什么它不起作用..

谢谢,问候 recep779

0 个答案:

没有答案
相关问题