Change Custom Rewrite Slug

Support MB Custom Post Type Change Custom Rewrite SlugResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33593
    JanosJanos
    Participant

    Hi,

    I am facing an issue with "Custom Rewrite Slug" in custom post types.

    The former developer structured data simply by using pages and categorizing them without organizing them into CPTs, but that method has its limitations. He made 2 parent pages (slugs: studies, universities) and subpages (i.e. /studies/economics/ , /universities/yale/ etc.)

    I transferred the data to 2 CPTs (slug: study, university), and kept the 2 main pages (slugs: studies, universities). I also want to preserve the previous link structure (/studies/[page-slug], /universities/[page-slug]), because of SEO. I put the subpages to trash and gave custom slugs to the individual CPTs (/studies/, /universities/). But it doesn't work. When I use the original slugs (study, university) it works, but when I put studies or universities to the Custom Rewrite Slug field in Metabox, not. It throws out "Page not found."

    Could you please help me what to do?

    Thank you!
    Janos

    #33596
    JanosJanos
    Participant

    [SOLVED]

    I forgot to do the basic thing: Save Permalinks. It works!

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