joomla/joomla-cms — pull request #4363 by shur (2014-09-27 09:51:41+00:00)
Title: Remove catslug in content modules

The request is to use the same principle for creating links to articles in content modules. Since catslug is used in some modules and is not used in other module, this potentially leads to double article URLs (when SEF is disabled). But there is no need to use catslug in Joomla 3.x because process link function - ContentHelperRoute::getArticleRoute - requires only catid (integer value).
`/components/com_content/helpers/route.php`
`public static function getArticleRoute($id, $catid = 0, $language = 0)`

After going deeper into the issue I came to conclusion that only catid must be used, and catslug must be removed.

**Steps to reproduce the issue**
- disable SEF (SEO Settings - set all fields: No)
- publish thee content modules Articles Category Module, Latest News Module, Articles Newsflash Module in the same page for comparison.
- In the module settings select the same one category as source (the same for three modules).
- Compare URLs to the same article in different modules.

**The results I got:**
Articles Category Module
`http://test.com/index.php?option=com_content&view=article&id=49:article-alias&catid=12:category-alias&Itemid=101`

Articles Newsflash Module
`http://test.com/index.php?option=com_content&view=article&id=49:article-alias&catid=12&Itemid=101`

**Expected result**
`http://test.com/index.php?option=com_content&view=article&id=49:article-alias&catid=12&Itemid=101`
All the links to the same article must be identical in all modules. Otherwise, it's a serious SEO mistake.