Hey everyone, just to share something I found out today about custom post types, pagination and 404 not found pages while I was working on my site redesign.
The situation
Putting together a showcase gallery to display how people are using my themes.I created a custom post type for it and was using a page to loop through and display each entry.
The problem
Using the recomended query for custom post types works ok to display the entries but the pagination refuses to display.Searching a bit got me similar solutions to this: http://themeforest.net/forums/thread/pagination-issue-for-custom-post-type-in-wordpress-30/28915 and this: http://wordpress.org/support/topic/pagination-with-custom-post-type-getting-a-404?replies=1#post-1616810
this solved the pagination issue BUT clicking on the single entry would land me on a 404 not found page!
The solution
After further searching I found this: http://wordpress.org/support/topic/pagination-with-custom-post-type-listing?replies=23#post-1637753that shed some light as to the cause: you CAN ’T have a PAGE and a CUSTOM POST TYPE with the same name.
So making sure that the page slug is different to the custom post type rewrite slug solved the issue so I now have my pagination and my single entries working just fine 
Thought I’d share this with you just in case there’s someone else out there “pulling his hair out” on this!
Cheers!

