Opencart SEO Breaks Catogry Direct


Opencart SEO Breaks Catogry Direct

每次我启用SEO重写时,它都会标记我的一个类别,并将它们链接到不正确的页面。

我当前使用的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电缆。

谢谢!

这听起来像是在为多个类别使用相同的SEO关键字(hdmi)。这是不允许作为标准的。你可以查看这个mod,它允许你对多个类别(即飞利浦>hdmi,三星>hdmi)使用相同的关键字