For security reasons I don’t want it to be obvious that I use Word Press.
I use the W3 Total Cache plugin and minify HTML, CSS and JS. I may also use a CDN.
Is it possible to modify the W3 Total Cache plugin so that it can rewrite the WordPress directories “wp-content”, “wp-admin” and “wp-includes” without actually renaming these directories? I’d ideally like to be able to rewrite W3 Total Cache directories such as “w3tc”
This was covered extensively in Steps to Take to Hide the Fact a Site is Using WordPress.
The answer in that question covered renaming the wp-content and the plugin directory. If you prefer rewriting those directories you can use these functions found in the Roots WordPress theme to rewrite the directories relative to your sites root directory.
You will also need to make sure and remove the W3 Total Cache X-Powered-by headers .
If your going to use a CDN W3 Total Cache will use the same path structure:
wp-content/w3tc/min/xxxxx/default.include.xxxx.css
So you will either need to rewrite these using .htaccess on the CDN if you have access or not use minify.
Hiding WordPress is possible but takes a lot of effort and is problematic with updates. Also it is the wrong solution, a better option would be to actually secure WordPress, and there are many guides/plugins that can help you do so.
To answer your question, it does not really make much sense to use w3 total cache to rewrite directories for security.