0
每次我啓用SEO重寫,它標記我的類別之一,並將其鏈接到不正確的頁面。Opencart SEO打破Catogry直接
當前正在使用的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]
進一步解釋。當我禁用搜索引擎優化,我可以通過類別訪問我的電纜,例如:飛利浦> Hdmi等然後,如果我啓用Seo,當試圖訪問飛利浦> hdmi我得到所有我在一個頁面上出售的HDMI電纜。
謝謝!
謝謝周杰倫,這一定會有所幫助! – 2012-07-19 19:51:32