WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post type redirect rewrite rules to archive page (2 posts)

  1. Frumph
    Member
    Posted 3 years ago #

    $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 ?

  2. Frumph
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic