Google is indexing my news articles as:
https://www.site.com/news/id5-
and:
https://www.site.com/news/id5-title-of-article
In fact, it indexes both, but omits the full URL version in results. Both URLs resolve to the same address, but I want to force id#-title-of-article each time to fix this canonicalization issue.
The site is written using Codeignigter framework.
My routes file at system/application/config/routes.php contains:
$route['news/id(\d+)-(.*)'] = "news/view/$1";
Any ideas on how i can fix this?