Skip to main content

Savinu Blogs

How to Add /blog/ to the WordPress Post URLs

How to add /blog/ to the WordPress Post URLs and change Category Base

The creation of clean, SEO-friendly URLs is important not only for search engines but also for better user experience. By default, WordPress uses /category/ for category URLs and doesn’t add a /blog/ prefix to posts. This guide shows how to customize both.

Add /blog/ slug to WordPress post URLs

  1. Log in to your WordPress dashboard.
  2. Navigate to Settings → Permalinks.
  3. Under Common Settings, select Custom Structure.
  4. Enter the following in the field: /blog/%postname%/
  5. Click Save Changes.
  6. Your post URLs will now look like: example.com/blog/my-post-title

Change the category base in WordPress

  1. In Settings → Permalinks, scroll to the Optional section.
  2. Locate the Category base field.
  3. Enter your preferred slug: topics
  4. Click Save Changes.
  5. Your category URLs will now look like: example.com/topics/technology

Benefits of custom slugs 

  • Cleaner URLs for better readability.
  • Improved SEO by including relevant keywords in URLs.
  • Consistent URL structure for posts and categories.

Got a question, partnership idea, or product you’d like to promote. I’d love to hear from you, whether it’s a creative collaboration, sponsored content, or just a friendly hello! send a message. 

You Might Like These