Support » Plugin: Permalink Manager Lite » Keep permalink structure for new articles

  • Resolved dreamytravelstory

    (@dreamytravelstory)


    Hi,

    I successfully changed the permalink of my posts. I did it for SEO purposes, so for example, I used /blog for the blogs, /reforestation for the purpose and so on. See the example below:

    https://www.easytravelhosting.com/riforestazione/green-yogi-life-ha-piantato-un-cedro/

    https://www.easytravelhosting.com/business-al-femminile/rooob_art-roberta-tra-arte-ed-ingegneria/

    https://www.easytravelhosting.com/blog/forest-life-mirko-e-karen-viaggiatori-full-time/

    What I cannot understand is, when I have a new blog post to write, how can I keep the permalink /blog/post_name? And because I have several options (/reforestation, /businnes-al-femminile), how can I set all the new posts to go in the right permalink structure?

    I hope I explained myself.

    Thank you for the help

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @dreamytravelstory,

    The new permalinks for new posts are controlled by Permastructure settings:
    https://permalinkmanager.pro/docs/basics/bulk-edit-custom-permalinks/#how-to-bulk-edit-custom-permalinks-using-permastructures

    To implement dynamic URL formats for new permalinks, make sure that the relevant base information, such as “riforestazione” “business-al-femminile” or “blogis saved somewhere in the database so that the plugin can access it and use it to generate custom permalinks for new posts.

    The simplest way to accomplish this is to use the built-in post categories. That is, you may can create a category for each of the bases: “riforestazione” “business-al-femminile“, “blog” and so on. Then simply change the Permastructure settings for posts to:
    %category%/%postname%

    As a result when a new post is published, the Permalink Manager will generate the custom permalink by replacing the “%category%” tag with the appropriate base and “%postname%” with the post name.

    Thread Starter dreamytravelstory

    (@dreamytravelstory)

    Thank you very much for the quick answer!

    In this way, I should just select a category for the post and the permalink should be correct (es. /blog/postname), correct?

    What if the post doesn’t have any category? Will the system simply place the post in the root?

    Thank you so much again

    Plugin Author Maciej Bis

    (@mbis)

    Yes, that is correct. If you need more information, I explained how this particular feature works in a separate article:
    https://permalinkmanager.pro/docs/tutorials/add-category-slug-wordpress-permalinks/

    If the post does not have any category, the plugin will ignore the %category% tag and remove it. The final permalink will be indeed placed in the root directory and will look like this:
    example.com/postname

    Best regards,
    Maciej

    Thread Starter dreamytravelstory

    (@dreamytravelstory)

    Sweet! I will try this solution then. Thank you again for the prompt help

    Giorgio

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.