How to create SEO-friendly permalinks in WordPress

how to create seo-friendly urls in wordpress

If you use Yoast SEO plugin, you’ve already seen that it specifies to use your focus keyword in your slug. The slug is the URL of your blog post and it represents your permalink. I will share with you how to create SEO-friendly permalinks for your WordPress blog, so read it further.

Permalinks are the URLs of your blog posts and archieve pages. They should be permanent and should not be changed after they are published, that’s why they are called PERMA(nent)links.

WordPress lets you select how you want your URLs to look like. It is very important for your website SEO and for your readers to create SEO friendly URLs, which are easy to read by humans and search engines. Let me give you some examples to understand it better:

How to verify which type of permalinks your website has:

Go to Admin Dashboard > Settings > Permalinks.

You’ll see a lot of options, but for the moment, I recommend you to choose an option with post name in it. WordPress has the post name option selected by default now, but in the past, the default was the plain option, which, you can see, is an ugly URL.

SEO-friendly permalinks in WordPress

How to create a custom structure for your permalinks:

You can create custom structures for your blog posts URLs in WordPress. It’s very important to make sure you add either  %post_id% or %postname% so that each permalink will be linked to an individual post.

You can combine some specific tags and create a structure that fits your needs better. For example, for an online magazine website, it could be convenient to add the date in your permalink. All the definitions below are taken from the WordPress Codex Documentation.

  • %year%: The year of the post, four digits, for example, 2016
  • %monthnum%: Month of the year, for example, 08
  • %day%: Day of the month, for example, 25
  • %hour%: Hour of the day, for example, 15
  • %minute%: Minute of the hour, for example, 43
  •  %second%: Second of the minute, for example, 33
  • %post_id%: The unique ID # of the post, for example, 423
  • %postname%: A sanitized version of the title of the post (post slug field on Edit Post/Page panel). So “This Is A Great Post!” becomes this-is-a-great-post in the URI.
  • %category%: A sanitized version of the category name (category slug field on New/Edit Category panel). Nested sub-categories appear as nested directories in the URI.
  • %author%: A sanitized version of the author name.

Now you are ready to create killer SEO-friendly permalinks for your blog posts which will improve your Google ranks also. If you have any questions, feel free to let us a comment, we would love to hear from you!

Leave a Comment

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

  1. Your comment is awaiting moderation.

    Seo friendly url is a basic part of seo.
    Every blogger needs to know about seo friendly url.
    There is something always need to remember like:
    1. Don’t do keyword stuffing.
    2. keep your URL short.
    3. use your keyword in your url
    4. use hyphens “-” to separate your words in your url
    If you want to create a SEO friendly URL follow these rules which are written by me