Moving wp-content outside of web root?

See Ben Word – How to Hide WordPress

Summary:

In the Roots Theme we’re taking several steps to help make it not so
obvious that you’re using WordPress:

  1. Cleaning up the output of wp_head and removing the generator from RSS feeds
  2. Hiding /wp-content/ by rewriting static theme assets (CSS, JS, and images), rewriting the plugins directory, and also changing the
    location of WordPress uploads
  3. Cleaning up the output of navigation menus with a custom walker
  4. Bonus: root relative URLs

Leave a Comment