WordPress.org

Support

Support » Plugins and Hacks » nginx.conf prevents my redirects from working

nginx.conf prevents my redirects from working

  • When I include the plugin-generated nginx.conf in my site’s configuration file my redirects stop working. The redirects look like this.

    `
    location / {
    rewrite ^/wp-content(.*)$ /wordpress/wp-content$1 permanent;
    }
    `

    They work fine without nginx.conf included, but once I add the line that includes the nginx.conf so the plugin’s settings take effect, the redirect breaks and URLs that should be redirected 404.

    https://wordpress.org/plugins/w3-total-cache/

  • The topic ‘nginx.conf prevents my redirects from working’ is closed to new replies.