双标题标签holmepage谷歌 - 如何纠正htacces?

时间:2017-06-19 13:44:56

标签: .htaccess joomla sef

谷歌告诉我,我有一些双主页标题。

例如:

https://www.mywebpage.nl 
https://www.mywebpage.nl/index.php?option=com_content&view=article&id=12&Itemid=219 

我使用Joomla,我的所有网址都是SEF友好的 我为https和www安装了重定向。 Al工作得很好..

我的htaccess还有以下代码

RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical   folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]

当我进入时:

https://www.mywebpage.nl/index.php?option=com_content&view=article&id=12&Itemid=219 

重定向到

https://www.mywebpage.nl/?option=com_content&view=article&id=12&Itemid=219

如何在htacces中重定向此URL以转至:

https://www.mywebpage.nl

0 个答案:

没有答案