SLUG? |
[eluser]bretticus[/eluser]
The most common definition of slug, as it pertains to CodeIgniter, is a string that references a record (or post) in something like a CMS (Content Management System...think Wordpress or PyroCMS.) The purpose is to build a URI that is used as a substitute for a database ID. For example, consider the following URLs: http://www.mydomain.tld/story/123 http://www.mydomain.tld/story/bretticus-explains-slugs The latter uses a "slug" (bretticus-explains-slugs) that can be used to search a database story record with a corresponding field value, instead of using the story record's id field (123.) Slugs, by my definition, are popular for user-friendliness, style and SEO optimization. |
Messages In This Thread |
SLUG? - by El Forum - 10-11-2012, 08:49 AM
SLUG? - by El Forum - 11-14-2012, 11:19 AM
SLUG? - by El Forum - 11-14-2012, 01:26 PM
SLUG? - by El Forum - 11-27-2012, 04:57 AM
SLUG? - by El Forum - 11-27-2012, 04:46 PM
SLUG? - by El Forum - 11-28-2012, 02:08 AM
SLUG? - by El Forum - 12-01-2012, 01:06 AM
SLUG? - by El Forum - 12-03-2012, 04:36 AM
|