geeta_m9
asked on
Enable Media Replace Wordpress Plugin not working
The enable media replace plugin does not appear to be working correctly in Wordpress. When I choose the option to "just replace the file", i.e., update the file while preserving the original links, it still pulls up the old copy of the pdf file. However if I choose the second option, i.e., upload the file with a new file name and links to the new file, it will display the latest version. How can I get it to show the latest version of the file while still keeping the original URL? I could upload a new file with a new name, but this would mean having to update all the links on the website and document templates which is a lot of work.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not sure it's browser cache but rather WordPress caching. Are you using a caching plugin (W3 Total Cache, Super Cache, etc) or are you on a host that provides caching as part of the hosting package (Varnish, etc.)?
ASKER
Sorry, I meant to say that I didn't think it was a browser caching issue. I am using W3 Total Cache. One of the web server staff responded to my ticket and informed me that the FTW plugin is not detecting the update and recommended that I manually replace the url of the replaced media into the box of the FTW plugin and purge that media manually. I am trying to do that right now.
ASKER
It looks like I also have WP-Varnish installed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I managed to solve the problem by entering the old url into the "Purge a URL box" (under Settings, FTW) and clicking on the purge button. Once I did that, it cleared the cache so that the next time I entered the url on the browser, it brought up the latest copy of the file.
Screen-Shot-2014-08-12-at-10.40.47-AM.pn
Screen-Shot-2014-08-12-at-10.40.47-AM.pn
ASKER
Your assistance helped point me in the right direction to solve this problem. Thank you.
You're welcome. Figured it had to be something simple in play.
ASKER