Welcome Guest, Not a member yet? Register   Sign In
Best way to generate part of a URL that is just used for visuals/seo
#3

[eluser]Dannymx[/eluser]
[quote author="Developer13" date="1311153512"]You can store your some-description-just-for-visuals-and-seo as the 'url friendly slug' in your database along with the record it belongs to. You would then use the slug to pull the record from the database instead of the id.[/quote]

Yes, but in my case sometimes the description segment (actually is going to be used for names) can repeat so that'll make conflict :-(


Messages In This Thread
Best way to generate part of a URL that is just used for visuals/seo - by El Forum - 07-19-2011, 10:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB