WordPress: Change wp-admin folder name
Compiled from http://wp123.info
WordPress is great! It’s no doubt. But unfortunately it still doesn’t have many quite necessary features. One of them is the ability to change wp-admin folder name, which is the admin directory as you probably already now. After searching for several hours on the internet without any success I started thinking of ways how to change my wordpress admin directory name. In this small tutorial I’ll show how to do it. Before starting the tutorial I have to say that this is rather complicated way and there may occurred some bugs. Anyway I have tested it and didn’t found any. So let’s start.
All we have to do is to search “wp-admin” in all wordpress files and change it to what we need to use as a admin directory name. Let’s name it for example “profile”. There are over 50 files to change. It’s practically impossible to find all these files manually so we need this great software called “grepWin” (Download). After installing this software right click on your wordpress folder and then choose “grepWin…” (see image below)

Then type “wp-admin” in “Search for:” box and “profile” (or anything you wish) in “Replace with:” and click “Replace”. This software will find every “wp-admin” and replace it with “profile”.
Now we are almost done. There is one file in /wp-admin/ directory called wp-admin.css. You have to change it’s name to “profile.css” (your_admin_directory_name.css).
Please note that some plugins and themes may also use the “wp-admin” name somewhere, so before you upload any theme or plugin don’t forget to scan it using grepWin and change every “wp-admin” to your chosen directory name.
Facebook Comment




I guess, this is not a wise move to change the hardcode of wordpress. What if, theres a new version of it and I/we want to update. This kind of technique will not sabotage the updating? just curios. But worth trying though… peace!
Yeah. your are right. the updates for wordpress will not cover on these changes. and does not guarantee 100% accuracy..
Change ‘wp-admin.dev.css’ too.
Wow
Its very pretty post .
My bos told me to change the wp-admin folder to another but i din’t find the solution anywhere else after that i have come over here & got the solution .
Thank Rocky
very nice you find a way to change the wp-admin folder name, if you know what you are doing on the codes I’m sure you know you will have to make another changes once you update the wordpress script or once you add new themes.
[...] Đổi tên thư mục “wp-admin” thành tên khác, “longlonglonglongwpadmin” chẳng hạn. Sau đó tìm tất cả những cụm từ nào là “wp-admin” trong tất cả các file .php, .css,… trong tất cả các thư mục và đều đổi thành “longlonglongwpadmin”. Nhưng tự làm hết thì quả là công phu, may mắn là có 1 phần mềm giúp ta làm việc này… Xem chi tiết tại rockyrasonable.com/…change-wp-admin-folder-name. [...]
Thanks for the name of prorgama. I do not remember this name. The best for these purposes!
You are welcome Ashok Yadav!!!
very nice tools, ..thanks for share
And I saw that this solution isn’t so good cause when surfing to wp-admin you are redirected to wp-login.php so You have to rename that file also.. But I think with grepwin you can change all the instanced where that filename occur also.. I’ll try it..
So TO DO for the developer community A WAY TO EASILY CHANGE THE WP-ADMIN FOLDER AND THE WP-LOGIN.PHP DYNAMICALLY so it will remain changed even after updating wordpress.
/kindly Andreas
That is cool that people are able to take the home loans and this opens up completely new chances.
Workable solution, thanks!
Don’t forget to change the names of all css files with wp-admin in them to your new name. They can be found in newname/css .
Let’s hope wordpress will make this easier in the future..
what happens when there is new upgrade?
It would not complicate to the changes
grepwin is only available for windows — do you have an alternative for Mac users?
[...] to set. But if you insists and have the guts to play around with WordPress Core system, fine. Check Rockyrasonable wingrep here, WordPress discussion here, or an Old stealth login plugin here (very old, not working on WP ver. [...]
Thank you a lot… Very nice Solution.
Greetz
Serious enthusiast on this website, quite a few your articles or blog posts have truly helped me out. Looking towards improvements!
You can do the same with Dreamweaver, both Windows and Mac versions, on local WordPress files, then install on your server
A very bad advice.
As soon as you update wordpress to a new version, you’ll be screwed.
Do not do this.
Yes.. This is only applicable to those who doesn’t want to update and have hacked free wp sites
Really u r doing great job…. Thank u so much for the help……. and ALL THE BEST
Keep it up!
Amy asked, on May 22, 2011, if there was an alternative for GrepWin for Mac.
The truth is, GrepWin is the Windows GUI alternative to a unix command called “grep”. You type it into a terminal window. They call this “command line” entry. “grep” has been around for a long, long time on unix systems, and Mac is a unix system, so I’m sure it is installed by default on every Mac system. I run Linux. Linux is the open-source operating system, much like WordPress is the open-source blog template. Thanks to Open-Source, I haven’t paid for any software in over five years, including all my business software and web-site design.
“grep” has to be entered as a text string, so you have to read up on what you need to type to get the results you are looking for. “grep” can be used show which files contain certain words, or even replace the words with other words. It is a very powerful tool, and if you learn the command line version, you can usually do more with it than you can with a window GUI, because then you can nest grep within other commands, and multiply the things you can do with it.
Akron, NY LVD Strippit introduces Sirius, an automation ready flying optics laser cutting system. Sirius is designed to provide efficient processing of parts at optimal speeds and accelerations to suit the part geometry, offering reliable cutting performance at an affordable price performance ratio. Vertical Lathe is offered in a standard and a Plus model. The Sirius Plus is optimized with additional features and automation capabilities. Sirius is designed with a modular construction, permitting the user to select the configuration that works best for the application and budget. As a standard unit, the laser cutting system features 3 m by 1. 5 m integrated shuttle tables, which maximize uptime by allowing one table to be loaded while the machine is cutting on the other table. Table change time is a mere 25 seconds. Sirius Plus is engineered as automation ready and can be expanded with the addition of various components to form an automated load unload system. An optional compact tower system creates a productive, flexible manufacturing cell that can be operated “lights out. “The Drilling machine, working in concert with the material handling unit, provides full capabilities for loading and unloading, and includes a shelving unit for storing raw material and finished parts. Sirius is equipped with a laser cutting head that accommodates a 5 inch or 7. 5 inch quick change lens for fast changeover and minimal set up. These water cooled quick change lenses can be exchanged very easily, using a self centering system. Lens calibration is programmable and quick to achieve.