yet another seo url question |
[eluser]John_Betong_002[/eluser]
edit - simplified // The method I have adopted is to use the seo-title: I use a unique table field with SEO-TITLE and use SEO-TITLE.html. The reason is that it is SEO friendly and any URL not found is used to search the table using "LIKE %...%" 1. route all other specific URLs 2. fall-through and route to a seo_controller/seo_method/seo-title 3. controller seo_method searches for seo-title 4. if found then get the data otherwise remove dashes // str_replace('-', ' ', seo-title). search for "seo title and all the other stuff" 5. display the page with the found or not-found data ./application/config/route/php Code: $route["default_controller"] = "welcome"; Also... Code: http://www.mydomain.com/controller/function/seo-title-id Take a look at: http://ellislab.com/codeigniter/user-gui...s/uri.html |
Messages In This Thread |
yet another seo url question - by El Forum - 07-27-2011, 01:18 AM
yet another seo url question - by El Forum - 07-27-2011, 02:15 AM
yet another seo url question - by El Forum - 07-27-2011, 02:36 AM
yet another seo url question - by El Forum - 07-27-2011, 03:21 AM
yet another seo url question - by El Forum - 07-27-2011, 06:11 AM
yet another seo url question - by El Forum - 07-27-2011, 06:36 AM
yet another seo url question - by El Forum - 07-27-2011, 07:23 AM
yet another seo url question - by El Forum - 07-27-2011, 07:32 AM
yet another seo url question - by El Forum - 07-27-2011, 07:32 AM
yet another seo url question - by El Forum - 07-27-2011, 07:42 AM
yet another seo url question - by El Forum - 07-27-2011, 07:48 AM
yet another seo url question - by El Forum - 07-27-2011, 08:01 AM
yet another seo url question - by El Forum - 07-27-2011, 08:15 AM
yet another seo url question - by El Forum - 07-27-2011, 08:19 AM
yet another seo url question - by El Forum - 07-27-2011, 08:25 AM
yet another seo url question - by El Forum - 07-27-2011, 08:50 AM
yet another seo url question - by El Forum - 07-27-2011, 04:30 PM
|