SEO Friendly URLS in CodeIgniter 2.0 + HMVC

Many of you SEO fanatics may have realized that CodeIgniter is not very SEO-friendly out of the box. It auto generates URLs based on routes which are made up of a controller name and method name. For URLs to be considered SEO-friendly and be universally recognized by search engines, keywords must be separated by a dash. Many of you are thinking you will just go rename your controllers and methods with dashes. That would be nice and easy, but this is not a legal syntax and PHP will throw errors. There is the option to manually enter each route in your routes.php file, but this could be a serious beat down and come back to haunt you later on down the road.

Posted in Techno Babble | Tagged CodeIgniter, Dallas Web Design, HMVC, Modular Extensions, SEO, SEO Friendly URLs

Read More