URL

A Uniform Resource Locator (URL) is a reference to an object or resource on the internet. Every post or page you create on your website can be found on (at least) one URL. For web pages it usually consists of a protocol identifier (eg. HTTPS), the domain name (eg. example.com) and a path (eg. /something/).

There are various ways to optimize your URLs for SEO and user friendliness. We regularly write about stuff related to URLs, like creating SEO-friendly URLs and slugs, changing WordPress permalinks, or how to implement canonical URLs on your site. Check out the posts on this page to learn all about best practices for URLs.


Must read articles about URL

The perfect WordPress SEO permalink structure

17 February 2017 by Joost de Valk » - 23 Comments

the perfect wordpress seo permalink

In the past we received a lot questions regarding optimizing your WordPress SEO URL / permalink structure. Questions ranging from whether you should have the category in your permalink structure to the length of your slugs. In this post, we’ll address some of these questions and attempt to give you a better understanding of your »

Category: WordPress
Tag:

How to remove www from your URL

3 February 2017 by Jimmy Comack » - 12 Comments

remove www from URL

At Yoast, we sometimes receive the question how to remove www from your website’s URL – or add it. In this post, I’ll show you how you can enforce either a www or non-www URL by tweaking your .htaccess file (or nginx.conf if you’re running on an Nginx server). Does using one or the other »

Category: Technical SEO
Tags: ,

Ask Yoast: can I cancel a 301 or 410 redirect?

4 January 2017 by Joost de Valk » - 3 Comments

Ask Yoast AMP for small business owners

After creating a redirect, it might happen you’d like to use the URL of that post or page again. Or perhaps you decide that you’d like to cancel that redirect after some time. Reasons for this could be that redirecting that post or page was a mistake, or the post or page contains valuable content again. In »

Categories: Technical SEO, WordPress
Tags: ,

Ask Yoast: change URLs when relaunching website?

16 December 2016 by Joost de Valk » - 4 Comments

Ask Yoast stopwords in focus keywords

Relaunching a website can be an overwhelming project. You need a new design and perhaps new functionalities. What should you do with your existing content? And what about new content? The more changes you want, the more challenging it gets. In this process you might face the question if you should change or keep your URLs. »

Categories: Content SEO, Technical SEO
Tags: ,

How to change your WordPress permalink structure

17 November 2016 by Joost de Valk » - 22 Comments

In the past we frequently recommend people change their permalink structure. In this post, we’ll explain why you should consider changing your permalink structure and how to go about it. Why change your WordPress permalink structure? A common thing we see in permalink structures are the usage of dates. For websites that post content that »

Category: WordPress
Tags: , ,

SEO basics: What’s a slug and how to optimize it

16 November 2016 by Michiel Heijmans » - 8 Comments

what's a slug

In SEO, we often talk about creating the right slug for a page. But what is this really? And why should you optimize it? In this post, we’ll explain all you need to know about it. When you google “what’s a slug”, you’ll find that the definition we’re looking for is “a part of a URL »

Categories: SEO basics, WordPress
Tag:

Ask Yoast: what’s a slug?

31 October 2016 by Joost de Valk »

Ask Yoast stopwords in focus keywords

For this edition of Ask Yoast, we received a question that belongs in the SEO basics category: what’s a slug? The answer is simple because it’s the piece of the URL that distinguishes a post. In this Ask Yoast, Joost explains what a slug is and what its SEO benefits are. This Ask Yoast is all about the »

Categories: SEO basics, WordPress
Tags: ,

Ask Yoast: reference number in URL?

6 October 2016 by Joost de Valk » - 1 Comment

Ask Yoast AMP for small business owners

Reference numbers (or post IDs) might be easy for your CMS, but they aren’t for your users. Remembering a URL with a number in it is hard, so the chance people will remember it and link to it is smaller. If people can remember your URLs they can also find it and share it with their friends more »

Category: Technical SEO
Tags: ,

rel=canonical: the ultimate guide

10 May 2016 by Joost de Valk » - 38 Comments

canonical urls as a solution for duplicate content

A canonical URL allows you to tell search engines that certain similar URLs are actually one and the same. Sometimes you have products or content that is accessible under multiple URLs, or even on multiple websites. Using a canonical URL (an HTML link tag with attribute rel=canonical) these can exist without harming your rankings. What »

Categories: Content SEO, Technical SEO
Tags: , ,

SEO friendly URLs

23 September 2015 by Michiel Heijmans » - 34 Comments

The subject is up for much discussion: SEO friendly URLs. Should or shouldn’t I include the category? Should the URL be as short as possible or is there room for extra’s? Should it be stuffed with keywords or not? In this post, I’ll explain our take on SEO friendly URLs and try to elaborate a »

Category: Technical SEO
Tag: