Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • reporting back;
    removing jpg from nginx static serving solved the issue!

    in my nginx config there are the following lines:

    if (-f $request_filename) {
    break;
    }

    making sure that the requests are served when the match type contains an extension (array of items) and does so when the request_filename exists in the filesystem.

    Don’t know if this might solve your issue but bet its a commonly overlooked thing. Might double check this if you are using nginx/lighttpd/varnish or other webserver/http proxies.

    good luck!

    @mrgreen09

    I am experiencing the same thing. After fiddling around in wp-config.php and .htaccess over and over again I suddenly realized that it might be something completely different.

    Is your webhost using a caching mechanism or proxying your webtraffic?

    I am running Nginx for example to handle al static content (this includes .jpg files I was uploading) and leave apache/php to handle everything dynamic.

    because the request for the static file (.jpg) is handled before apache is called by nginx it does not access the .htaccess file and thus, does not access the rewrites.
    I have been thinking this over and am NOW going to test whether this is true 🙂 will report back later!

Viewing 2 replies - 1 through 2 (of 2 total)