URL slugs are the exact address of a specific website. It is the location where webpages are accessed when typing their URL in the address bar. Optimizing URL slugs is not a very hard thing to do. But if you ask me, it is one of the most important things you can do in your on site optimization process. This is a Tutorial for URL Slugs.
URL Slugs Appear in the Search engine Results Page
If you didn’t know, the URL slugs that you use in your webpage will appear in the SERPs. This is visible to all people who are searching in the web. For this example, I have searched for the keyphrase ‘Title Tag Optimization’. The URL slug in the picture says /title-tag-optimization-guide/ which is good. People who see this result would say ‘Bingo’.
But what if my URL slug says /how-to-properly-give-your-dog-a-name/ then it starts to confuse searchers. It just doesn’t add up.
Some people just don’t get it. Sometimes they write out their URL slugs to be http://www.example.com/10395embislgm-potllz1.php
It’s just gibberish – both for people and consequently for search engines too – because search engines are just mimicking as to how people respond to search query results.
Tip 1: Write your URL for people
URL Slugs are Important for Indexing
Search engine indexing is the first and vital step in a search engine’s three main functions. A search engine spider crawls every page of a website and stores each page’s data in its database. A webpage’s URL is always included in the indexing stage to identify all the attributes of a webpage. Just try a crawling tool like Xenu or Screaming Frog and you’ll be more familiar with what I’m talking about.
If the URL of each page is indexed by the search engines, then it would be safe to assume that the search engines give attention to the URL slugs – and they do. Which takes us to the next step of a URL slug’s importance.
Tip 2: Write your URL for the Search Engines
URL Slugs are Important for Ranking
The last step in a search engine’s three main functions is ranking its results. And since a URL slug is included in its indexing data, it is most safe to say that a search engine factors in the URL slugs as it ranks the webpage for a certain specific keyword/keyphrase.
A URL slug actually does affect ranking as I’ve tried it out in an experiment. I put in ‘Linkbuilding tutorial’ on the URL slugs but I put in ‘Linkbuilding Strategies’ on the Title of the entry and its Title tag. Guess what? The entry ranked for both keyphrases in its own corresponding area of competition.
My point is, the URL slugs are given importance by the search engines in vital stages in its three-step process which is indexing, retrieval and ranking.
Tip 3: Write your URL to Rank on your Keywords/Keyphrases
All in all, I just want you to be mindful of your URL slugs. It could really be one of the reasons why you’re ranking a bit higher than your competition.
This entry is part of the SEO Hacker School series: Complete On Site Optimization Tutorial













Any opinion on cutting out superfluous words from the URL? For example, let’s say my page has a story called “How to Find Koala Bears Hiding in Your Backyard” and my URL is “/Finding-Koalas-Hiding.”
You think there’s any benefit to highlighting the more important words this way?
Hi Amy,
Yes I do believe so. Excluding stop words has an effect, that’s why we have URL slugs plugin. Excluding words that you don’t want indexed as your URL also has an effect – it gives way for search engines to prioritize the URL keywords you’d like to rank.
Hi Sean,
Good points. I have a query and not clear about the reasoning behind. Amazon’s urls are like amazon.com/product-url-slug/dp/productid. And stackoverflow’s urls are like stackoverflow.com/questions/questionid/use-question-slug.
Notice the different way of puting the slug. To me stackoverflow’s method looks more logical, I can view a dir structure there. However, there are many others who do it the same way as amazon’s.
Any idea why amazon does it that way?
Perhaps it’s with their system structure and database structure. Other than that, the shorter the slug – usually the better.
I def think it’s about their database structure more then anything else. Logical or not, Amazon certainly can get away with it and still rank well.