Support » Fixing WordPress » Rewriting archive page slug to be different than custom post type slug

  • dallashuggins

    (@dallashuggins)


    Hello –

    I am having trouble changing the slug of my archive page. The goal is to create a page that can be edited from the back end of WP with the slug ‘speakers’, but that has already been taken by the archive page. This has to be client friendly so it can’t be only editable in the php. I am willing to do whatever anyone thinks is the best idea for this.

    Ideas:
    – removing the archive page all together
    – rewriting the slug to be ‘speaker’ or ‘presenter’, that way I can create a page with the ‘speakers’ slug
    – making the archive page editable

    Does anyone have ideas on this? I created a custom post type and tried setting the ‘has_archive’ to ‘false’ and creating a slug array but it didn’t work. And if you just set it to ‘false’, it pulls a list of regular posts.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rewriting archive page slug to be different than custom post type slug’ is closed to new replies.