Hi, what menu item type should I choose for Homepage?
Because there are modules showing content and no need the mainpage go anywhere.
I guess double links appear during indexing if it is set to Featured Articles? → Some links from google go to homepage. I think the reason is menu items I chose in options of the menu.
There is an offer to paste this code
Code:
<?php
$menu = JFactory::getApplication()->getMenu();
if ($menu->getActive()!=$menu->getDefault()) { ?>
<jdoc:include type=component />
<?php } ?>
to the file containg this
<jdoc:include type=component />
in template.
Could you say exactly if it makes sense, and which is the exact path to the file?
Are there any other ways to make the mainpage not duplicate in search engines? I mean when link goes not to the item, but on your mainpage