So You want “/Blog” on your WordPress site?

Well, you’ve got it!

Here’s a simple tutorial on how to add “/blog” to your WordPress site.

This particular direction is useful when you’re not displaying posts on your home page. Typically the home is much more customized for various business needs.

To create “/blog” you will need two pages: Home and blog.

You will need to change two settings: Reading and Permalinks.

Let me show you how to do that

First go to Pages > Add New

If you don’t have a page for your home page, then create a home page. Just title it “Home” and click “Publish”.

Then create another page by going to Pages > Add New. I’m going to title this page “Blog”. You can name yours whatever will be best for your business.

Next
Go to Settings > Reading.
Change your homepage display from “Your latest posts” to “A static page”
Use the select input to switch the Homepage to “Home” and Post page to “Blog” or whatever you created.

Save.

Then go to
Settings > Permalinks
Under Common Settings, select the Custom Structure radio input.
Add “/blog” just before your structure. My setting will just have the post name.

Save.

Check your site.

Make sure that the home page shows the “Home” you created in the Pages section.

Make sure when you go to /blog that it shows your posts.

Then, click on a post and make sure that the post has /blog/post-name in it.

Custom Post Types

If you develop custom post types, there is one more setting to change. Make sure you add a rewrite with ‘with_front’ set to false.

'rewrite' => array( 'slug' => 'post_type_name', 'with_front' => false )

And that’s it!

If you have any questions, feel free to leave a comment.

Thank you!

P.S.

I’m sure you’ve noticed the Elementor plugin activation banner at the top of the screen. That’s a nice plugin I use for businesses that need a quick site with a little layout freedom. Not my typical clientele, but as you can see in this post, I like to help businesses out if I can. Stay tuned for other posts about how to use that.