Over 10 years we helping companies reach their financial and branding goals. Onum is a values-driven SEO agency dedicated.

CONTACTS
SEO

How to Optimise Your Website URL (Easy Tutorial for 2021)

how to optimise your website url

How to optimise your website URL (in 2021) – In this post I am going to show you how to optimise your page URL for Google.

You will learn what a URL is, why it’s important for SEO and what to do to optimise it.

If you want to learn the basics of SEO, you might want to check my other article:

If you need help with improving your rankings for your website, make sure you check our SEO services.

How to Optimise Your Website URL: General Questions

What is a URL?

URL stands for Uniform Resource Locator and it’s the address or location of a web page or file on the web.

The URL is visible in the web address bar of your browser and it includes both domain (or sub-domain) and slug.

yourdomain.com/page.php

What is a Slug?

The slug is the part of the URL that identifies the specific web page or resource on the web.

It’s the part that is displayed after the domain and on the right of the forward slash ‘/’ sign

https://yourdomain.com/this-is-the-slug

Why is the URL Important for SEO?

Google says that keywords in the URL ‘that are relevant to your site’s content and structure are friendlier for visitors navigating your site’.

In itself, this doesn’t mean that by adding your focus keyword in the URL, your web page will rank higher.

While adding the focus keyword to your URL might not be a direct ranking factor, it might influence other ranking factors indirectly.

For example, a URL that is ‘friendlier for visitors’ might get a better Click-Through-Rate (CTR), which is one of the metrics Google considers for the ranking of your web pages.

How to Optimise Your Website URL: Tutorials

How to Optimise Your Website URL (in WordPress)

To optimise your website URL in WordPress:

  1. From the backend of your page, click on Edit right below the post or page title
  2. Edit your URL and click OK when done

how to optimise your website url in wordpress

how to optimise your website url in wordpress part 2

How to Optimise Your Website URL (in Rank Math)

To optimise your website URL in Rank Math:

  1. Click on ‘Edit Snippet’ from the Rank Math sidebar (Gutenberg editor) or panel (Classic editor)
  2. This will open a popup with three fields: Title, Permalink and Description
  3. Enter your URL in the Permalink field

Gutenberg Editor

optimise your website url in rank math

Classic Editor

optimise your website url in rank math part 2

How to Optimise Your Website URL: Best Practices & Etiquette

When choosing the URL for your web page, keep in mind the following best practices and etiquette:

  • Think Structure First – In general but especially for websites with a high number of pages, it’s always considered best practice to break down your website into categories and sub-categories. For example, increasily.com/portfolio/real-estate-web-design
  • Avoid Redundancy – Avoid keyword stuffing by getting rid of redundant keywords in your URL structure. For example, increasily.com/web-design/real-estate is more preferable than increasily.com/web-design/real-estate-web-design
  • Add Your Focus Keyword – Although Google simple says that keywords in the URL ‘that are relevant to your site’s content and structure are friendlier for visitors navigating your site’, it’s worth noting that there is a section dedicated to URLs in Google’s Search Engine Optimization (SEO) Starter Guide
  • Keep it simple – Avoid overly-complicated structures like http://www.example.com/index.php?id_sezione=360&sid=3a5ebc944f41daa6f849f730f1
  • Keep it short – There seems to be a ‘strong correlation between short URLs and higher Google rankings’ (source: backlinko.com). Make sure you keep your URL short and in any case never go beyond 75 characters
  • Use Punctuation – To separate keywords, use punctuation. Hyphens ‘-‘ are also preferable to underscores ‘_’ . For example, increasily.com/seo-services is preferable to increasily.com/seoservices or increasily.com/seo_services.
  • Avoid Dynamic URLs – Dynamic URLs are generally very long and might cause duplicate content issues

Some additional recommendations:

  • Don’t Include the Date – The date takes up space in your URL, which you could use for other keywords. Also removing the date will make it easier for you to update the content of your post at a later stage
  • Don’t Replicate Your Post Title – Post titles are generally long and don’t always work well as URLs

What to Do After Updating Your Website URL

If you want to edit or update your URL after your post of page has been published, you will need to set up a redirect rule from old to new URL.

If your old URL has already been indexed by Google, any visitor clicking on it will get a 404 page not found error.

To prevent it, your will need to set up a redirect rule. The most common one is the 301 permanent redirect. This tells Google and other search engines that the page or resource has been permanently moved to a new location.

You can set up a 301 permanent redirect via plugin or by hard-coding a snippet of code into your htaccess (for websites on Apache servers) or HTML files.

How to Set Up a URL Redirect (in Rank Math)

To set up a redirect in Rank Math:

  1. From your WordPress admin, mouse over to Rank Math on the left sidebar
  2. Click on Redirections (please note this module needs to be enabled in Rank Math settings)
  3. Click on Add New on the top left of the screen
  4. Enter your old URL (make sure you add the forward slash before)
  5. Enter your new URL (make sure you add the forward slash before)
  6. Click on Add Redirection

How to Optimise Your Website URL: Sources

https://unsplash.com/photos/rdoRdjOk-OY

Author

Pasquale Mellone

Pasquale is Founder at Increasily.com, a H2H marketing agency based in Dublin, Ireland, and owner at print-on-demand ecommerce Mintycase.com. Pasquale has worked in Digital Marketing and Account Management since 2004. He currently lives in Dublin with his wife, stepdaughter and cat.

Comment (1)

  1. official source
    18 January 2023

    Having read this I thought it was very informative.
    I appreciate you finding the time and effort to put this
    informative article together. I once again find myself personally
    spending a lot of time both reading and commenting.
    But so what, it was still worthwhile!

Comments are closed.