WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I like the simplicity of wordpress and all it has to offer, but for security purposes I would like to change the actual (or viewable) directory structure of my site.

The install has a set of files that everybody who's familiar with wordpress will know about. I have read about some security measures some where that suggests changing the file/directory structure of a wordpress site to increase the level of security. This would prevent someone from knowing right away if a site wordpress based or not.

I have no idea how to do this, but I think using the htaccess might be a solution. Im also concerned about future updates and is there a way to change the actual (or viewable) file structure without effecting updates.

I would appreciate some advice on this. Thanks for any help on the matter!

share|improve this question
Changing names is not a security feature. We discuss this each week again … – toscho Mar 20 '12 at 15:00
@toscho, I dont want to change names I want to change the directory structure. Maybe by moving the wp-admin, wp-content, and wp-includes somewhere else but to in a way not to cause any problems with how wordpress operates... – user1893 Mar 20 '12 at 15:07
Our search engine offers some answers to your question: wordpress.stackexchange.com/search?q=rename+directory – toscho Mar 20 '12 at 15:23
Thank you toscho! – user1893 Mar 20 '12 at 16:17
up vote 3 down vote accepted

This has been answered many times. Search this site, as toscho points out above.

And see Ben Word - Hide WordPress, who shows how to:

1 - Clean up the output of wp_head and removing the generator from RSS feeds

2 - Hide /wp-content/ by rewriting static theme assets (CSS, JS, and images), rewriting the plugins directory, and also changing the location of WordPress uploads

3 - Clean up the output of navigation menus with a custom walker

4 - Show root relative URLs

share|improve this answer
Thank you kindly! – user1893 Mar 20 '12 at 16:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.