What is a Permalink? (+ Best Practices & Examples)…

If you’re reading this, there’s a good chance you asked Google, “what is a permalink?”

In this post, we’ll answer your question (and cover all the basics).

What is a Permalink?

Permalink Definition

A permalink is a unique and unchanging URL (Uniform Resource Locator) for a webpage, post, or other piece of content published on the internet.

When this web address is entered into your browser or clicked as a hyperlink, it takes you directly to that specific page.

what is a permalink example

Whether you’re building your own blog or need to link to other webpages for any reason, you’ll want to get this ubiquitous element of web architecture right.

Keep reading to understand what permalinks are and how to structure them for best results.

What does a permalink look like?

Every permalink has two parts:

  1. The web domain
  2. And the slug

what is a permalink slug example

The slug comes after the first forward slash and can include a date, category, post name, or other organizing information.

How do I find a webpage’s permalink?

Finding (and grabbing) a permalink for a page or post is simple:

  1. Go to a website, highlight the entire URL in the browser address bar, and select “copy
  2. Or, hover your cursor over any link, right click, and select “copy”

Why permalinks are important

Permalinks matter for two key reasons:

  1. They affect your site’s SEO
  2. They influence reader experience

Let’s look at both of these factors.

Permalinks boost SEO

Search engines use permalinks to index your webpages, affecting those pages’ ability to be found when someone enters a query into a search engine like Google.

Having a consistent permalink structure will make your site more SEO friendly and help you capture more search traffic.

We’ll look at some options for structuring permalinks below.

Permalinks improve reader experience

Optimizing for search is vital, but don’t forget to consider your readers’ experience.

Well-structured permalinks help your readers navigate your site by giving them a clue about where they will land if they click on the link or paste it into the address bar of their browser.

Look at this logically organized permalink:

what is a permalink ahrefs url example

In the example above, there’s no doubt that you’re on the ahrefs blog and you’re going to learn something about SEO.

A clean, simple permalink always looks better than a jumble of numbers and letters. Don’t let ugly permalinks detract from readers’ perceptions of your brand.

Which permalink would you rather click?

http://www.example.com/index.php?id_tag=364f41730f1

Or this one:

https://www.example.com/best-vacation-bike-rentals

How to create a permalink

If you’re building your own website or blog, it’s best to choose your permalink structure before publishing any pages or posts. This ensures a well organized and consistent approach while avoiding the need to do any disruptive changes later.

Keep in mind the following best practices to ensure optimal SEO and reader experience when creating your permalinks.

6 Permalink best practices

  1. Make them unique: No two pages or posts should have the same URL
  2. Keep them short and descriptive:
    • Limit or omit unnecessary “stop words” like a, the, on, and, is, of, and you (unless they are part of your page’s main keyword)
    • Only include dates, categories, or tags that are necessary for keeping permalinks relevant and organized
    • Include the main keyword (see #3) but shorten any longer post titles
  3. Include SEO keywords: Send a strong signal to search engines, helping your content rank for your page’s main keyword
  4. Separate words with dashes (not underscores): Make everything easier to read by humans and search engines
  5. Be consistent: This won’t be an issue if you set your WordPress permalink settings ahead of time (instructions below)
  6. Use all lowercase: If someone enters an all lowercase version of a URL that contains uppercase letters, it can lead to an error message (404 page)

Permalink precautions

Now that you know the best way to structure your permalinks, it’s good to keep in mind a few precautions.

Although it’s best to avoid doing so, sometimes it is necessary to change a permalink.

But be careful.

Done incorrectly, it can cause you to lose precious backlinks and their accompanying SEO juice. Not only that, but if someone linked to your page or post anywhere across the web and a reader tries to click it, they’ll get a 404 error instead of being taken to the correct page.

what is a permalink 404 error example

That’s why, if you’re going to change a permalink, you must let the search engines know.

This is done with a 301 redirect. Read this ahrefs.com guide for a deepdive on the topic.

Also, if you have a well established site with plenty of content, be very careful about restructuring your permalinks. You may need to consult a professional so you don’t break your site and tank your SEO.

Finally, keep in mind that when creating a new page or post on WordPress, the default permalinks are not optimal. They don’t look professional, are not descriptive of the content, and don’t always contain the best SEO keywords.

Make sure to edit them before publishing.

How to format permalinks on WordPress

WordPress will generate default permalinks with dates for all pages and posts you publish.

If you ever update your material, you’ll be stuck with the original date in the URL. This makes your content appear dated to readers.

what is a permalink 5

This link should be optimized for better SEO and readability.

To ensure consistent and optimal permalink structure with all your posts, adjust your permalink settings ahead of time by going to:

Dashboard → Settings → Permalinks

what is a permalink post name setting

There are a variety of options for you to choose from. Most bloggers find the “Post name” option works best.

Make sure to save your changes after you select your settings.

Even with your permalink presets, it’s still a good idea to manually check them before hitting publish. When added as a slug onto your domain, the post name generally makes your URL very long and unwieldy.

To edit a permalink for a specific page or post, go to:

Dashboard → Page/Post → Title (click on the unpublished page or post with the permalink you want to edit).

Then select Permalink from the dropdown menu and edit the URL Slug:

what is a permalink wordpress post url example

Permalink like a pro

Now you know what permalinks are and how to make them work for you.

Always review them before hitting publish, and remember to apply the best practices you learned here.

Good luck!


Source link


Leave a Reply

Your email address will not be published. Required fields are marked *