double title tags holmepage google - how to correct with htacces?

48 Views Asked by At

Google tells me i have some double homepage title tags.

for example on:

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

I use Joomla and all my urls are SEF friendly I have redirection installed for https and www. Al works fine..

My htaccess has also the following code

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]

When i enter:

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

It redirects to

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

How can i redirect this URL in htacces to go to:

https://www.mywebpage.nl
0

There are 0 best solutions below