I just turned on SEF Urls and it's working fine when I navigate in my website using the menu.
But when I click on a link generated from an article, then the URL appearing in the URL field is messy. I get:
http://mywebsite.org/fr/publications?id=375
instead of
http://mywebsite.org/fr/publications/comprendre/livres/pinker
In brief the problem is that the SEF url generated is like menuAlias?id=ArticleID instead of being menuAlias/CategoryAlias/ArticleAlias.
I use (as before) the non-SEF URL's for my link:
href="index.php?option=com_content&view=article&id=375&Itemid=265
( Itemid 265 = menu publication and Id 375 = article pinker)
I came across one solution but it's not working:
href="<?php echo JRoute::_('index.php?option=com_content&view=article&id=54&Itemid=20' ); ?>"
Any idea how I have to set up my href I get a SEF (real) Url in my new tabs when I link it from an article ?
Thanks a lot!