WordPress.org

Forums

W3 Total Cache
nginx.conf prevents my redirects from working (1 post)

  1. Ryan Burnette
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.