.htaccess: Similar/ “duplicate” entries advice?
-
Question: Do I leave my .htaccess as is, or “clean it up”?
Hello,
Rookie user, first site. After some manual editing as well as some code created by a plugin, I now have in my .htaccess file similar entries written in two slightly different ways, that serve the same purpose. In my case, similar blocks of entries exists for two purposes:
(1) cache expiry functionality for various filetypes and headers
(2) GZip/Deflate functionality for compaction and efficiency.Before installing the plugin that auto-handles the above (WP Fastest Cache), I had manually found relevant code snippets on the internet, and pasted them into my .htaccess file. But now, I have two different sets of code blocks that achieve the same thing.
Is this a problem and how should I handle it?
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘.htaccess: Similar/ “duplicate” entries advice?’ is closed to new replies.