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.
geeta_m9Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineNo oneCommented:
Did you see the FAQ page for the plugin?

https://wordpress.org/plugins/enable-media-replace/faq/

I replaced a file, but it didn't change!

There are two main reasons this would happen.

First, make sure you are not viewing a cached version of the file, especially if you replaced an image. Press "Refresh" in your browser to make sure.

Second, if the file really looks unchanged, make sure WordPress has write permissions to the files in your uploads folder. If you have ever moved your WP installation (maybe when you moved it to a new server), the permissions on your uploaded files are commonly reset so that WordPress no longer has permissions to change the files. If you don't know how to do this, contact your web server operator.
1
geeta_m9Author Commented:
Thanks for this information. I do to think it is a browser caching issue and I tried clearing the cache in all the browser and it still didn't work. I have opened a ticket with the web hosting service and see what they have to say.
0
Jason C. LevineNo oneCommented:
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.)?
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

geeta_m9Author Commented:
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.
0
geeta_m9Author Commented:
It looks like I also have WP-Varnish installed.
0
Jason C. LevineNo oneCommented:
Caching of any sort will screw with the media replacement capabilities plugin. You should dump/rebuild the entire cache after uploading the replacement file.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
geeta_m9Author Commented:
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
0
geeta_m9Author Commented:
Your assistance helped point me in the right direction to solve this problem. Thank you.
0
Jason C. LevineNo oneCommented:
You're welcome.  Figured it had to be something simple in play.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.