• Resolved datht123

    (@datht123)


    This is my url before enable remove category slug storefront.local/en/blog/category/testnewen/

    and i want after enable option remove category is gonna be like this

    storefront.local/en/blog/testnewen/ but yoast change it to storefront.local/en/testnewen/

    My setting Custom Structure is : /blog/%postname%/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @datht123,

    Thanks for your question. storefront.local/en/blog/testnewen/ is being changed to storefront.local/en/testnewen/ because /blog/ is treated as the category prefix to be removed.

    Is your WordPress installed in /blog/ or that’s a category too?

    Thread Starter datht123

    (@datht123)

    Hi @maybellyne

    So how to stop Yoast remove my prefix slug /blog/ ?

    /blog/ is prefix slug always show in my blog posts

    Plugin Support Maybellyne

    (@maybellyne)

    You can retain /blog/ in the URL by toggling ON Show the categories prefix in the slug

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove category slug option remove my custom slug /blog/’ is closed to new replies.