Top "Slug" questions

part of a URL that makes it more human readable or SEO-friendly, but without necessarily being required by the web server.

Remove all special characters from a string

I am facing an issue with URLs, I want to be able to convert titles that could contain anything and …

php regex url slug
PHP function to make slug (URL string)

I want to have a function to create slugs from Unicode strings, e.g. gen_slug('Andrés Cortez') should …

php internationalization slug
What is a "slug" in Django?

When I read Django code I often see in models what is called a "slug". I am not quite sure …

python django django-models slug
Turn a string into a valid filename?

I have a string that I want to use as a filename, so I want to remove all characters that …

python filenames slug sanitize
How do I create a slug in Django?

I am trying to create a SlugField in Django. I created this simple model: from django.db import models class …

python django django-models slug
String slugification in Python

I am in search of the best way to "slugify" string what "slug" is, and my current solution is based …

python slug
Generate SEO friendly URLs (slugs)

Definition From Wikipedia: A slug is the part of a URL which identifies a page using human-readable keywords. To make …

php string seo friendly-url slug
Best way to generate slugs (human-readable IDs) in Rails

You know, like myblog.com/posts/donald-e-knuth. Should I do this with the built in parameterize method? What about a …

ruby-on-rails slug
Using slugs in codeigniter

I have heard of people using slugs for generating clean urls. I have no idea how it works. Currently i …

php codeigniter slug clean-urls
Why do some websites add "Slugs" to the end of URLs?

Many websites, including this one, add what are apparently called slugs - descriptive but as far as I can tell …

url seo friendly-url slug