• Resolved happosai

    (@happosai)


    Hi!
    I m experiencing an issue with permalinks for my category pages
    You can find an example of my current category pages here
    lisaki2018-mariage.com/le-monde-de-lisaki/category/couple-vie-quotidienne/
    I want to remove category/ from the permalink (as i don t have content in ‘category page’), so i’d simply have lisaki2018-mariage.com/le-monde-de-lisaki/couple-vie-quotidienne/

    In Yoast > advanced, when i take off the category prefix, all links that lead to the category page become correct (http://lisaki2018-mariage.com/le-monde-de-lisaki/couple-vie-quotidienne/)
    but i get a 404 page when i click on these links because the actual permalink for the category page becomes https://lisaki2018-mariage.com/couple-vie-quotidienne/

    It seems that if you take off the category prefix, the whole path between home & category page is deleted. Including ‘le-monde-de-lisaki’.

    As a trick, I tried to add manually le-monde-de-lisaki in settings > permalink > category prefix. It makes the category page work, but then archives page & tags page don’t work anymore. Somehow they seem to be affected by the changes on category page’s permalinks.

    I think the most simple would be to remove just ‘/category’ from the permalink and not ‘le-monde-de-lisaki’, when using the ‘delete category prefix’ function in Yoast. How to achieve that?
    THank you!
    ps: just to make al links works, i let the category prefix activated in yoast so the current url for category page is http://lisaki2018-mariage.com/le-monde-de-lisaki/category/couple-vie-quotidienne/

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘remove category prefix in permalink doesn’t work properly’ is closed to new replies.