Different Permalinks for blog articles


I'd like to have my blog posts under the /blog directory.

Something like your current hierarchy: giorgiobarilla.com/blog/article-name. Right now, it's giorbiobarilla.com/article-name.

I already know how to set up the 301 redirects in the https access (my articles have already been shared on the web, so I need to add those), but I don't know how to change the permalinks for the blog posts only.

I have other types of hierarchy. For example, my services are under:

giorgiobarilla.com/services/page-of-the-service, and I need it to stay like that, and portfolio will likely be on giorgiobarilla.com/portfolio/work-title

may you help please? I think this will serve a better organization for the SEO structure.

  • Predrag Dubajic
    • Support

    Hi Giorgio,

    The simplest way to change the permalinks would be to go to Settings > Permalinks and in there set your permalinks to a custom one and use this as structure:
    Portfolio and Services are custom post types, correct?
    Depending on how they are registered their URL structure will probably be affected as well so you would need to change how that is done and have this part in the code that registers your CPT:
    'with_front' => false

    This should explain it further how to set it up:

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.