我尝试了几乎所有的东西,但是我做错了什么。我想我的网址更改来自:.htaccess - 如何删除部分网址?
http://website.com/component/products/product1?Itemid=101
到
我的.htaccess:
RewriteEngine On
RewriteRule ^component/easydiscuss/(.*)$ $1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
# RewriteBase/
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule .* index.php [L]
请帮 谢谢
您是否也可以提供不同的产品链接?我不太确定那个Itemid = 101在那里做了什么。 – 2014-11-03 14:56:30
其他产品网址看起来类似: http://website.com/component/products/product2?Itemid=101 如果我手动删除?Itemid = 101 url仍然有效。 – Frostbourn 2014-11-03 22:43:26