• Business
  • SEO
    • Content
  • Social Media
  • Branding
  • Ads
  • Others

Rules For Writing URL - Best Practices For Structuring SEO-Friendly URLs


Many people will come to your website by clicking on a link, so you may wonder if it really matters what's in the URL of a specific page.

You might be surprised to learn that rules for writing URL are very important for on-site SEO.

The Perfect URL Structure for SEO! Best Practices For Improved Ranking

Why Does URL Structure Matter?

There are a few key reasons why your URL structure is important.

COPYRIGHT_MARX: Published on https://marxcommunications.com/rules-for-writing-url/ by Keith Peterson on 2022-07-18T04:39:14.739Z

  • First, Google has to know what each page in its index is about if it wants to give searchers results that are always useful. Google looks at the URL as one of the most important parts of a page to figure out what it is about.
  • Next, a site's users will find it easier to get around if the URLs are easy to understand. If someone looking for clothes on a website lands on the page www.clothesretailer.com/womens/dresses/nameofspecificdress, they know the page is about women's clothes or dresses, since those are the last two parts of the html code. Smart web users also know that they can delete the last few parts of the URL (dresses/nameofspecificdress) to get back to the larger selection of women's clothes.
  • And finally, what makes a good URL structure easy to understand for users is also good for search engines. The search engine crawler can more easily figure out how the different pages on your site relate to each other. For example, it can see that a certain item belongs in the same category as other dresses, even if the word "dress" isn't in the product name, which belong in the larger category of women's clothes on the site. This helps the crawler figure out what the different parts of the site are about and how they relate to each other.
Blog url structure example
Blog url structure example

As a bonus, adding those extra categories before the specific keyword or product name in your URL adds some more relevant keywords without making your URL look spammy.

That gives Google a little bit more information to make sure it knows what's on the page and what keywords it should show up for.

SEO Best Practices For Structuring URLs

SEO infographics
SEO infographics

Use A Single Domain And Subdomain As Much As Possible

Given how many people have moved their content from a subdomain to a subfolder and seen better results, it's hard to argue against this (or, worse, moving content to a subdomain and losing traffic).

Whatever rules search engines use to decide if content should get the same ranking as its parent domain don't seem to work very well for subdomains.

That doesn't mean it can't work, and if a subdomain is the only way you can set up a blog or make the content you need, it's better than nothing.

But it's much more likely that your blog will do well in the rankings and help the rest of your site's content do well if it's all on one sub and root domain.

The More Readable By People, The Better

It shouldn't come as a surprise that search engines like URLs that are easy for people to read.

Accessibility has always been a part of SEO, but it has never been more important than it is today, when engines can use advanced user and usage data signals to figure out what people are interested in and what they aren't.

The URL doesn't have to be clean and perfect in every way, but it does have to be easy to understand and, hopefully, interesting to people looking for its content.

Keywords In URLs - Still A Good Thing

Still, it's a good idea to use the keywords you're trying to rank for in your URLs.

Several things make this true.

First, keywords in the URL help people who see it on social media, in an email, or as they hover over a link to click it know that they're getting what they want and expect.

Second, URLs are often copied and pasted, and when there's no anchor text in a link, the URL itself is used as the anchor text (which is still a powerful input for rankings).

Third, keywords in the URL show up in search results, and research has shown that the URL is one of the most important things searchers look at when deciding which site to click on.

It's important to do thorough keyword research, especially if you use keywords in your URL.

Keyword Explorer is a free tool that we use and recommend if you want to get started.

Shorter > Longer

In general, URLs that are shorter are better.

You don't have to go overboard with this, and if your URL is already between 50 and 60 characters, you don't have to worry about it at all.

But if your URLs have 100 or more characters, you might be able to rewrite them and get more out of them.

This isn't a problem with Google or Bing directly, since they can easily handle long URLs.

The problem is with how easy it is to use and how the user feels about it.

Shorter URLs are easier to read, copy and paste, share on social media, and embed. This might not make much of a difference in terms of sharing or spreading, but every tweet, like, share, pin, email, and link counts (either directly or, often, indirectly).

Including Stop Words Isn't Necessary

It's not necessary to include stop words (like and, or, but, of, the, a, etc.) in the URL if your title or headline has them.

You don't have to leave them out, but it can help make a URL shorter and easier to read in some situations.

Use your best judgment based on how easy it is to read and how long it would be.

In the URL of this post, for example, you can see that I left "for" in because I think it's easier to read with the stop word than without it, and it doesn't add too much to the length of the URL.

Hyphens And Underscores Are Preferred Word Separators

For the first time in all the years I've been updating this piece, I forgot to say to avoid using underscores to separate words in URLs.

Over the past few years, search engines have figured out how to deal with this problem and now treat underscores and hyphens in the same way.

Spaces can work, but they show up strangely in URLs as "%20," which makes your pages harder to read.

If you can, try to avoid them. In a modern CMS, this should be easy to do.

Overusing Keywords Makes Your Site Look Spammy

Repetition doesn't help your search rankings. Google and Bing no longer use algorithms that favor a keyword that shows up more than once in a URL string.

Overusing keyword matching or repetition in your URLs can hurt your chances of getting a click, which can hurt your rankings.

A hand holding a tablet with floating various icons and word 'SEO'
A hand holding a tablet with floating various icons and word 'SEO'

People Also Ask

What Is Proper URL Format?

A URL is made up of a protocol, a domain name, and a path, which is the exact subfolder structure where a page is located. The basic format of a URL is as follows:


The protocol tells a browser how to get information about a given resource.

How Do You Write A URL In A Sentence?

(1) www.lonelyplanet.com is the web address for the Lonely Planet travel center.

(2) This way, you can drop the URL of your site into the conversation when people post messages about your site that are relevant to it.

(3) A label will pop up with the full URL on it.

How Do I Create A Free URL?

Make your free URL with Google Sites.

With one Google account, you can make more than one website and give each one its own address.

You can use one of Google's layout templates, or you can use the HTML editor to make your own.


Here are some suggestions for how to write your urls.

They are based on business decisions, and it's better to keep this in mind and make it a part of us at the beginning of the project than to change in the middle of it.

Despite all of this, SEO is hard to master, and it is always changing as Google tries to improve the quality of search results.

By working on your URL names, you can probably expect your page ranking to go from 300 to 200, but not from 100 to 1.

SEO is also affected by many other things.

This is only a very tiny bit of it.

Share: Twitter | Facebook | Linkedin

About The Authors

Keith Peterson

Keith Peterson - I'm an expert IT marketing professional with over 10 years of experience in various Digital Marketing channels such as SEO (search engine optimization), SEM (search engine marketing), SMO (social media optimization), ORM (online reputation management), PPC (Google Adwords, Bing Adwords), Lead Generation, Adwords campaign management, Blogging (Corporate and Personal), and so on. Web development and design are unquestionably another of my passions. In fast-paced, high-pressure environments, I excel as an SEO Executive, SEO Analyst, SR SEO Analyst, team leader, and digital marketing strategist, efficiently managing multiple projects, prioritizing and meeting tight deadlines, analyzing and solving problems.

Recent Articles

  • 7 Tactics To Boost B2B Lead Generation With Instagram Stories

    Social Media

    7 Tactics To Boost B2B Lead Generation With Instagram Stories

    A number of strategies are being used to crowdsource marketing minds all across the internet realm. Every month, if not every week, a new platform, tool, or marketing approach develops that alters marketers' capacity to reach their target audience.

  • Developing A Unique And Recognisable Brand Identity


    Developing A Unique And Recognisable Brand Identity

    Your brand identity embodies who you are at your core. Many people confuse the terms "brand" and "logo." While there are certain overlaps, a logo is only a representation of the company. There's a lot more to the brand. When we discuss brand identity, we are discussing who you are, the principles you uphold, and the general character of your business.

  • What Are The Worst Business Ideas Ever? Try To Avoid Mistakes


    What Are The Worst Business Ideas Ever? Try To Avoid Mistakes

    What seemed like a good idea at first doesn't have to change much to become a bad business. We are looking at the worst business ideas right now to make sure that doesn't happen.

  • How To Write A Stunning Meta Description In 2022 - SEO's Future


    How To Write A Stunning Meta Description In 2022 - SEO's Future

    Meta descriptions reached a tipping point in 2021. It was the realization of marketers and SEOs that a snippet of text could influence how users found and interacted with their websites, pages, or apps. But, how to write a stunning meta description in 2022?

  • What Do SEO Agencies Do? Hire Them For Best Results


    What Do SEO Agencies Do? Hire Them For Best Results

    There are a lot of buzzwords and acronyms in the Internet marketing industry, which can make it hard to understand at times. This can be frustrating for a business owner. You keep hearing that SEO is something you "need," but many companies won't tell you exactly what you'll be paying for. But what do SEO agencies do?

  • B2B Value Proposition Examples - Improve Marketing Campaigns


    B2B Value Proposition Examples - Improve Marketing Campaigns

    Making a B2B value proposition that hits a home run is not easy. We have b2b value proposition examples. Your company might be getting ready to bring out a new product. You have a long list of things to do, such as talking to customers, researching competitors, making a GTM strategy, and so on.

  • What Does The Value Proposition Do For Marketers? Critical For Marketing Success


    What Does The Value Proposition Do For Marketers? Critical For Marketing Success

    A value proposition is a sentence that explains why someone should do business with you. It should show a potential customer why your service or product is better than similar ones from your competitors. What does the value proposition do for marketers?

  • Average Website Conversion Rate By Industry - Key Steps To Increase It


    Average Website Conversion Rate By Industry - Key Steps To Increase It

    Conversion is a key part of your paid search strategy. After all, what's the point of advertising if you don't turn a lot of people who look at your site into buyers? Conversion rate optimization lets you get the most out of every penny you spend on PPC by finding the sweet spot that gets the most people to take action. What is the average website conversion rate by industry?

  • Difference Between Advertising And Marketing - Why It Matters?


    Difference Between Advertising And Marketing - Why It Matters?

    Do you think "marketing" and "advertising" mean the same thing when you hear them? Some marketers use the words marketing and advertising interchangeably, calling marketing advertising and advertising marketing. The truth is, though, that these two ideas are very different. Similar, but not the same. Do you know what is the difference between advertising and marketing?

  • Learn How To Build Backlinks To A Cannabis Brand With Our Recommended Strategies

  • Social Media Marketing Ideas And Tips For New Business

  • B2b Content Marketing Strategy - Making Content The King To Bring More Customers

  • Sales Page - Make Them Click The 'Buy' Button

  • Metaverse Property - The Use Of Social Media To Promote Metaverse's Public Recognition