This post may contain affiliate links. Meaning, I may earn a commission for purchases made through these links, at no extra cost to you. Please read my disclosure for more info.
After I installed WordPress, it came with a sample post with a URL showing the date and title of the article.
Here’s what it looked like…
So I looked at other blogs and compared how they’ve structured their URL and I noticed that most of them were having the title or keywords of the article only.
I wanted to do the same and I found out that you could actually edit the URL structure by simply changing the default permalink settings in WordPress.
What are Permalinks?
According to WordPress…
Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to link to your article (or section), or how you might send a link to your story in an e-mail message. The URL to each post should be permanent, and never change – hence permalink. – WordPress.org
When you publish a post or a page in WordPress, it creates a unique ID called permalink (short for permanent link) that points to that specific content on your blog.
The most common settings are as follows…
- Plain – shows the unique ID of the post or page
- Day and name – shows the full date format (YYYY/MM/DD) and title of the content
- Month and name – shows the date (year and month only) and title of the content
- Numeric – shows numbered URL
- Post name – shows the title of the content
If you like, you can even create a custom URL structure for your permalinks and archives using the available tags under Custom Structure.
And there’s also an option to create custom structures for your category and tag URLs.
Why change the permalink structure?
I believe it’s very important to decide early on what type of permalink structure you will use before even publishing any content on your blog.
- The URL on each post should be permanent. Once you’ve hit publish, you should avoid changing the URL of the content which can lead to many issues. Have you ever clicked on a link and nothing came up? That’s what happens when you get a broken link.
- I didn’t want to show dates on the URL. I wanted to show the title of the post only because I didn’t think having dates on the URL would be relevant to the articles I’d be posting.
- You will give out the URL if you want to share your content with your friends or on social media. Every time you share a content, you’ll be sharing the URL. So make sure to choose the setting that you think would work best for you.
How to change permalink structure in WordPress.
To change the permalink settings, go to your WordPress dashboard and look for Settings > Permalinks.
On the permalink settings page, you will see the common settings I discussed above. From here, you can choose whatever settings you prefer.
Notice that the “Day and name” setting had been set as default when I installed WordPress.
Since I prefer to show the URL without the date, I decided to choose the “Post name” setting instead.
After you select a setting, hit the Save Changes button to confirm the changes. You should see a confirmation message at the top saying “Permalink structure updated.”
Then check back on the URL to view the changes.
There you have it! I hope you learned from this tutorial. If you have some questions, please leave them in the comments section below.
Thanks for reading!