我正在尝试使用新的电子商务工具(https://www.github.com/ClicShopping/ClicShopping_V3),并且试图包括重写,但是它不起作用。
有人可以帮助我吗?
url de base: localhost / shop / index.php?Prod ...&products_id = 1
url seo de base: 本地主机/ shopt /精品店/独立... / products_id,1
重写URL:
localhost / shop / boutique / Produ ... / products_id,1(index.php estsupprimé) 本地主机/shop/index.php/Info/Content/pages_id,5
最后一个示例不起作用,每个链接都在index.php上重定向。我找不到神奇的解决方案。我对htacess零。
带有.htaccess的网址
Options -Indexes
Options +FollowSymlinks
#note for apache2 must be activated becarefull on apache 2.4
AcceptPathInfo on
#### Your config to change URL rewriting ###############
#Uncomment and adapt
<IfModule mod_rewrite.c>
RewriteEngine On
#to change in function your website
RewriteBase /shop/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#to change in function your website
RewriteRule . /shop/index.php [L]
# Removes index.php from ExpressionEngine URLs ²
# RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
# RewriteRule (.*?)index\.php/*(.*) $1$2 [R=301,NE,L]
</IfModule>
谢谢