WordPress.org

Support

Support » Plugins and Hacks » Custom Post type redirect rewrite rules to archive page

Custom Post type redirect rewrite rules to archive page

  • Frumph
    Participant

    @frumph

    $type_slug.'/?$' => 'index.php?post_type='.$ptype,

    Currently its redirecting to use the index.php to archive the custom post type, while I want it to use the archive.php template instead.

    Does anyone know the rewrite rule I would use to have it use the archive.php instead ?

Viewing 1 replies (of 1 total)
  • Frumph
    Participant

    @frumph

    Hrm, having difficulty trying to explain how i’m making the /<customposttype>/ want to redirect to the archive listing instead of the index page listing

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post type redirect rewrite rules to archive page’ is closed to new replies.