You are here: Blog » Tutorials » How to Set Page Url in WordPress (With Pictures)

How to Set Page Url in WordPress (With Pictures)

Have you ever wondered how to set page url in WordPress for your posts and pages? If so, then this is the post for you.

This is a post targeted for beginner’s, so I’m not assuming any expertise on your part beyond the point that you have so far managed to set up a WordPress site on your own. Good for you!

?p=123

“Why does my post about gluten-free cooking have a URL that looks like www.mysite.com/?p=123?”  You might be wondering. That’s a good question. The reason is more technical than we need to get into for the purposes of this tutorial. But the bottom line is that we don’t want that, and instead we want our post to have urls like www.mysite.com/cooking-without-gluten.

Use the post name for the URL

In Settings > Permalinks Select the ‘Post name’ option and save.

Permalink Settings — WordPress

 

Post title will now automatically be used for the post URL

Permalink Settings2 — WordPress

 

Customizing the post URL

If you want, you can edit the post URL to be different than the post title. To do this, click on the yellow highlighted post URL. Change to whatever you like and click ok.

Permalink Settings3 — WordPress

 

Further Reading

Keep in mind that you can use this to set the URL for both your posts and pages. There are more things that you can do with WordPress URLS. For example, you can include information about the post’s category, author, date,  and more in the post URL. To read up on more of these options, I suggest starting with the Using Permalinks entry in the WordPress codex.

Also, there is some basic lingo that it might be good for you to become familiar with. The user friendly title for your post, such as ‘gluten-free-cooking’ in the above image, is what is known as the ‘post slug’. By setting the permalink structure to ‘post name’ in the first step of this tutorial, you are essentially telling WordPress to use the post slug for all of your post and page URLs.

 

This entry was posted in Tutorials and tagged , by .

Author: justin saad

Justin Saad is first and foremost a husband and a father of four. He is also a web developer and designer who has been making websites for over twenty years. His company is called The Motech Network and his website is ClevelandWebDeveloper.com. In addition to building websites, Justin makes WordPress plugins and likes writing tutorials to help others learn about various aspects of web development.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">