Support » Fixing WordPress » Browser Caching Code does not Save in .htaccess

  • I am using the latest version of WordPress and I try to add the Browser Caching Code and save the file. It saves and when I go and check back the Code is not there.

    Is there any way to fix this problem. I have disabled performance and caching plugins and trying to repeat, but same problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • How are you editing the file and saving it?

    Have you tried downloading the file, making your changes locally, and then uploading it, overriding the old version?

    I go to CPANEL, File Manager, access the file, edit the code, Save it and close the file.

    Also tried downloading the file and reloading it.

    Just tried that but same problem.

    • This reply was modified 2 years, 5 months ago by tigershroof.

    You may want to contact your host for support. They may have some sort of caching in place that is overwriting your file, or they may not let you write your own .htaccess. Hosts can be funny about different things sometimes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Browser Caching Code does not Save in .htaccess’ is closed to new replies.