|
redirecting news for SEO
Google is indexing my news articles as:
https://www.site.com/news/id5-
instead of:
https://www.site.com/news/id5-Steroid-users-increasing-year-on-year
The server finds content well using both options but for SEO reasons i want to force all users to use the long address.
I'm looking for someone to write the code i need to add to my .htaccess file in root to achieve this. I've tried to do this myself without luck
All news articles follow this format: site.com/news/id#-title. The title may contain non-url characters like :'? etc but these are mostly removed.
Note sure if this will help but codeignigter framework is used
hope you can help
|