WordPress.org

Ready to get started?Download WordPress

Forums

Change directory names: wp-content, wp-admin (6 posts)

  1. jpepper
    Member
    Posted 8 years ago #

    For a little added security, I'm considering changing the directory names of wp-admin and wp-content. Anyone know if this will cause a problem? Will any files need to be edited?

    Thanks.

  2. masquerade
    Member
    Posted 8 years ago #

    There are tons of references to wp-admin and wp-content throughout the code. Renaming wp-content wouldn't truely do jack, because all your theme files come from that directory anyways. As for the admin, it wouldn't do jack either, because the login page gives away the location easily. Its not worth it.

  3. jpepper
    Member
    Posted 8 years ago #

    Thanks masquerade. I guess I'll keep them as is.

  4. vkaryl
    Member
    Posted 8 years ago #

    jpepper, if you have something like cPanel with your host, or if you are fairly competent with command-line, you can password any folder that you feel might be compromisable.... This would be a better solution than renaming in this case, I think.

  5. jpepper
    Member
    Posted 8 years ago #

    Thanks vkaryl. I thought of password protecting the wp-admin directory. I may go that route. I does add another step to the admin process, but for security sake, it may be the best route.

    It's too bad that directories couldn't be controlled thru some type of configuration file. It would be nice to have a bit more control over the directory structure. Considering the growth of WP internationally, the names of wp-content and wp-admin may not mean much to a non-English speaker.

    Just my $0.02.

  6. richardhenry
    Member
    Posted 7 years ago #

    I agree. Changing directory names would be so useful for me, as when using WordPress in a site for clients and telling them to go to http://example.com/wp-admin/ isn't the best looking thing in the world.

    I usually just create another folder called /write/ with a PHP header("Location: ..."); line, but being able to rename the folders would be SO much easier and cleaner.

    Cheers for bringing this up.

Topic Closed

This topic has been closed to new replies.

About this Topic