$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 ?
- The topic ‘Custom Post type redirect rewrite rules to archive page’ is closed to new replies.