View Single Post
Old 01-26-2013, 11:40 PM   PM User | #1
spartacusgalact
New to the CF scene

 
Join Date: Jan 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
spartacusgalact is an unknown quantity at this point
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
spartacusgalact is offline   Reply With Quote