Skip to content

boolaz/WPChangePath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WPchangePath

If you're using wordpress CMS for a while, you are perfectly used to the default admin URL :

which can also be accessed via :

Most of the time, in order to compromise a WORDPRESS website, the bad guy has to access the wp-admin management console.

The purpose of this script is "Security through obscurity". The idea is to change the default admin URL so that you'll be protected from transversal attacks.

It will not protect you from dictionary attacks so try to avoid such names as : admin, management ...

Instead, try to chose better names like : My_Site_Adm

Obviously, it won't protect you from bruteforce attacks but those kind of attacks can be easily blocked by specific tools (ie:[fail2ban]http://www.fail2ban.org/)

In order to get it work, simply customize the two variables in the scripts to match your configuration :

/-----------------------------------/
newname="mypersonaladminplace" # new admin path
wpath="/var/www/wordpress" # wordpress location
/-----------------------------------/

just set those scripts to executable and enjoy :

$ chmod +x wpchgpath.sh wprestorepath.sh
$ ./wpchgpath.sh
$ ./wprestorepath.sh

About

Change Wordpress admin URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages