What is a slug, and why does it matter for SEO?
A slug is the part of a URL that names a page, for example how-to-build-a-website in tipamedia.com/blog/how-to-build-a-website. A short, descriptive slug helps visitors understand a page before opening it, and gives search engines one more hint about its topic.
Google’s guidelines recommend simple URLs that use meaningful words and separate them with hyphens. Random slugs such as ?p=12345, or slugs full of symbols, are hard to read, hard to remember and easy to break when shared.