[Support request] Hiding parent page in URL structure

Home Forums Support Hiding parent page in URL structure

  • This topic has 3 replies, 2 voices, and was last updated 4 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1505923
    Daniel

    Hi guys, I searched the forum but didn’t find this question asked anywhere and decided to reach out.

    Currently, our site displays pages in a way that includes the parent page in the URL (i.e. the page Thailand displays as website.com/asia/thailand). Is there a way to remove the parent page from the URL without using a plugin?

    #1506055
    David
    Staff
    Customer Support

    Hi there,

    if ‘asia’ is the post category then this requires rewriting the permalink structure.
    Generally this kind of thing can be handled by your SEO Plugin.

    If you’re not using SEO plugin then try this:

    https://wordpress.org/plugins/remove-category-url/

    There is no benefit in trying to do this with code instead of the plugin.

    #1506111
    Daniel

    Got it, I’ll check out with our SEO plugin, thank you.

    #1506236
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.