In this Quick Tip, Treehouse WordPress teacher Zac explains the options you have when choosing your WordPress site’s URLs. Choosing the right permalink structure can have an amazing effect on your website’s SEO value. Do you have a blog or news site where a date-based permalink structure would work best? Or do you need those all important title keywords in the URL? Find out in this helpful tutorial from Treehouse.
Each week, we’ll release:
– New episodes of ‘The Treehouse Show’ – up to date news and tips on web design, coding, and more.
– ‘Quick Tip’ videos – these are short how-to videos on today’s most relevant web technologies.
– and much more!
Hi, I’m Zac. In this Treehouse Quick Tip, we’re going to talk about how to
customize what the URLs look like on a WordPress site. WordPress uses this
term “permalinks” to refer to the URL for a specific page or post on the
site. Having good permalinks makes links to your site easier for people to
read and easier for search engines to index. Let’s take a look at some of
what’s possible with permalinks in WordPress.
Start in the admin area and go to Settings, Permalinks. You can see that by
default WordPress displays pages, the ?p= and then the ID of the page or
post you’re looking at.
While this is technically clean, it’s not that friendly for humans or
You can see that the next two options, Day and Name, and Month and Name,
display the year, month, and date or just the year and month as well as the
name and the title of the post. These two options are great for blogs or
for newspapers or for sites that want the month and the name and the year
to be in the URL of the posts.
The next option down, Numeric, is similar to the first option in that it
shows the post ID number at the end of the link, but it doesn’t include the
?p and instead just says archives. If you want your site to have the ID
number of the post and page in the URL, then this is a slightly cleaner and
nicer option than the default setting.
This last option here, Post Name, is probably one of the most common,
especially for sites that are using WordPress for more of a CMS and not
just for a blog engine. It could also be useful for blogs that only want to
have the title of the URL in the links and not have anything about when
that article was published. You could see that as we select any of these,
it updates the custom structure field below.
If you want a certain permalink structure that is not here, you can click
on “A number of tags are available” link here and see all of the possible
options that you have.
For this situation, we’re just going to select Post Name and then click
Save Changes. You can see it now says “Permalink structure updated,” which
tells us that everything has been saved and our site is now using this
format for the URLs.
If you save your changes and you see a message that says “You should update
your HT access now” and if you scroll down to the page, it gives you the
content that should go inside of this HT access file, then you have one
more step to do. For directions on how to do that, click on this link “A
number of tags are available,” and then on the WordPress documentation page
find where it says “Where is my HT access file,” and follow those
And that’s how you format permalinks in WordPress. Experiment with what
works best for your site. Remember that if you have the post name in the
URL, then you want to make sure you have strong keywords in your title
names to help with your search engine optimization.
If you’d like to see more advanced videos and tutorials like this one, go
to TeamTtreehouse.com and start learning for free.
Comments are closed.