Wordpress Custom Post Type CSS & JS 404
I'm having a weird problem on a Wordpress site that I've built. I set up custom post types for a portfolio site, circa Wordpress 2.8. Everything worked out great and it was on auto pilot. Somewhere between Wordpress 3.0 and 3.1, the style.css
file started throwing out a 404, but only on the single post pages.
EDIT - It's actually every in开发者_如何学Ccluded file. CSS & JS. The plot thickens...
I'm baffled, and I don't even know where to start. I changed the permalinks, re-did the .htaccess
file. Has anyone else ran into this problem?
Here's the link to the site if you want to FireBug it - http://artifexmakeup.com
Sorry, I would post some code, but I have no idea where the problem even begins... but let me know what you need to see, and I'll post it.
You're not linking to the style sheet somehow. I'll look at it in detail when I get off work. I would check the names of your classes in the CSS and make sure that the body class for the single post is named correctly. It appears that the reference to the stylesheet is in the head; I think that's ok. Nice photos!
Your problem is that your files are specified with relative path, so you get wrong url.
http://artifexmakeup.com/patty-boring/wp-content/themes/ArtifexMakeup/html5-boilerplate/css/style.css?v=1301356717
Here patty-boring/
messes up your urls.
I don't know how you specify urls in theme so I can't tell you where you're doing wrong.
Turns out it's something with mod_pagespeed screwing with the custom post types. Thanks for your help!
精彩评论