Posts permalink structure

[ad_1]

We have a real estate website built on WordPress and when it had first been created the permalink structure followed this format as the only post type was a property listing:

/properties/%postname%/

Now we are also trying to develop a blog on the website that impacts how the blog post links look – it looks the same instead of us having the option to change it to something like:

/blog/%postname%/

I have created a custom post type in CPT UI and a related taxonomy. Regardless, blog posts made under that new post type show up with links like:

/properties/blog/%postname%/

How do I fix that? Is changing the permalink structure to something more generic and creating CPTs the only way to go? If so, what’s the best way to do so without breaking the website, negatively impacting SEO, or transferring hundreds of posts to a different CPT?

Thanks!

[ad_2]
1 Comment
  1. It should work if you setup the custom post type with the **Custom Rewrite Slug** as ‘*blog*’ and the W**ith Front** option as *false*.

    if registered via code, it should have these arguments

    `…,`
    `’rewrite’=>[`

    `’slug’=>’blog’,`

    `’with_front’=>false,`

    `], …`

    After doing this you should go to permalinks setting page in wp-admin and just click save to refresh the site permalinks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer