To preface this, all of this functionality was working until a few weeks ago. I have a wordpress site with postname permalinks. Have had this since day 1 and its worked out well until recently.
It's related to portfolios and wordpress (3.4.2).
Suddenly (perhaps after some recent plugin update or change in wind direction:) ) I started getting 404s on all my portfolio 'items'.
Portfolio list (page) works ok. Such as http://www.dasilvamotorsport.com/performance-project-portfolio/
I switched permalinks to default (numeric). And suddenly portfolio items like the below started showing: http://www.dasilvamotorsport.com/portfolio-item/honda-nsx/
But portfolio category doesn't show: http://www.dasilvamotorsport.com/performance-project-portfolio/
Switching back to postname as permalink basically reverts back to the original issue that portfolio items don't show up. I had heard that permalinks may need a refresh but this hasn't helped me. I've refreshed a dozen times, restarted the server, checked and double checked .htaccess to no avail.
Again, all of this was working perfectly until a couple of weeks ago so really not sure what happened. Is there something I can debug or try? I've tried WP_DEBUG but for some reason the debug.log file is never created so not sure what's going on there. (Yes, I've tried wp_debug_log parameter also).
No errors relating to this in the apache error log.
Appreciate any help on this.
I have been running this on a ubuntu 11.10 box, with apache2 and varnish cache as a front end. Nothing has changed in terms of infrastructure since day 1 when it worked.