38 reputation
4
bio website
location
age
visits member for 3 years, 7 months
seen Sep 25 '11 at 19:10

Aug
24
awarded  Supporter
Aug
24
awarded  Scholar
Aug
24
accepted Custom Post Type Archives with 0 Posts Redirects as 404
Mar
10
comment Custom Post Type Archives with 0 Posts Redirects as 404
One method I'm trying is to use the template_redirect action to determine if the post_type matches the requested one and redirect to the archive-{post_type}.php template. Of course, this also means hooking anything else that may act upon the 404 (title, other content modifers, etc). I'm hoping there's a more logical way of fixing this as it seems like a bandaid more than anything.
Mar
9
awarded  Teacher
Mar
9
awarded  Student
Mar
9
answered How to verify this checkbox is checked?
Mar
9
asked Custom Post Type Archives with 0 Posts Redirects as 404