• Resolved Hayden Ng

    (@haydenng664)


    Hi, I am trying to set a /sg/ for Singapore region in my website. When I do it with CPTUI by creating a post type names Singapore and sg as the slug, there is no place for me to customize the page for /sg/ itself, which would be the homepage.

    How do I customize /sg/ page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    That url would most likely end up being the post type archive URL, and thus no “page” to edit. Depending on what you’re trying to do, perhaps a proper page named “sg” would be in line for things, and let the archive and single posts be elsewhere.

    Alternatively, you could customize the archive-sg.php file to your hearts content, but that would be at the template file level, not UI level in your WordPress dashboard.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any changes here @haydenng664 ?

    Thread Starter Hayden Ng

    (@haydenng664)

    Hi, so I ended up creating a page for it. However, I do have one question. How do I have /sg/ in all the existing pages/posts? Is it feasible? The only way I could think of is recreating and duplicating all the pages and posts and put inside the new custom post type section.

    • This reply was modified 4 years, 2 months ago by Hayden Ng.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    for pages specifically, it could be done with a parent page, and all the rest be children, however, not sure the best route to also have it be on the post types too, since I tend to avoid trying to mix post types bases.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Country permalinks’ is closed to new replies.