Opencart SEO打破类别直接

每次启用SEO Rewrite时,它都会为我的某个类别设置品牌并将它们链接到不正确的页面。

我正在使用的hta文件。

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled. 

# 2. In your opencart directory rename htaccess.txt to .htaccess. 

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it    does    run in ie. / becomes /shop/ 

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

进一步解释。当我禁用SEO我可以按类别访问我的电缆,例如:飞利浦> Hdmi等然后,如果我启用Seo,当试图访问飞利浦> hdmi我得到我在一个页面上出售的所有hdmi电缆。

谢谢!

1
投票

这听起来像是你为多个类别使用相同的SEO关键字(hdmi)。这不是标准的。您可以查看this mod,它允许您为多个类别使用相同的关键字(例如philips> hdmi,samsung> hdmi)