WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is what chrome's console says:

Resource interpreted as Stylesheet but transferred with MIME type text/html: "someserver/wp-content/themes/pgcss/normalize.css/?ver=3.5.1". someserver:18

Resource interpreted as Image but transferred with MIME type text/html: "someserver/wp-content/themes/pgimg/lens.png/". someserver:77

Obviously something in injecting a slash at the end of my file.
I am not very familiar with nginx , what can I do?

share|improve this question
Can you supply the code that enqueues the stylesheet and that outputs the image? – Johannes Pille Apr 18 '13 at 17:28
What is your Nginx configuration for rewrites? Are you using try_files? Please paste your site config in the original question so we can see the full picture. – Christiaan May 31 '13 at 14:18

Check the mime.types file in Nginx's config directory (if you're on Linux this is typically /etc/nginx/). If there's no MIME type file, check to see whether MIME types are declared inside nginx.conf. If not, you may need to create a mime.types file and include it in nginx.conf.

Here's the information on the Nginx wiki about MIME types: http://wiki.nginx.org/HttpCoreModule#types

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.