Create unique slugs for URLs using PHP and Python

With every geek on Quora, it has become a place where people are asking all kinds of weird questions and that too again and again. If anyone observes the URLs, you would notice something called slugs. Slugs in the URLs are SEO friendly. By SEO friendly, it means that a URL like http://xyz.com/what-is-spice-forms is much better than than an id based url like this http://xyz.com/post/4. The what-is-spice-forms portion in URL is called slug. It points to exactly /post/4 and hence, acts as an alias. (more…)

Read More