Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Changing Wordpress admin link to whatever you like.

 

Every one might have heard about wordpress and those who have hosted their site using wordpress t will know that the default Admin Login link is given as wp-admin. So once the intruder gets the login page then he can try any tricks to crack into your hosted site.So for security purposes its better to hide ur admin login link so that it will be difficult for anyone to get find it…

This is how it is done…..

Locate your .Htaccess File and edit it in the following way:

Edit your .htaccess file and add the following lines:

######################
RewriteEngine On
RewriteBase /
##### ABOVE THIS POINT IS ALREADY INSERTED BY WORD PRESS
##### Michi’s code is BELOW #####
RewriteCond %{REQUEST_URI} wp-admin/
RewriteCond %{QUERY_STRING} !YOURSECRETWORDHERE
RewriteRule .*\.php [F,L]
RewriteCond %{QUERY_STRING} !YOURSECRETWORDHERE
RewriteRule ^ADMINFOLDER/(.*) wp-admin/$1?%{QUERY_STRING}&YOURSECRETWORDHERE [L]
##### Dejavu’s code is ABOVE #####
##### BELOW THIS POINT IS ALREADY INSERTED BY WORD PRESS
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
#####################

Additional info:
* Change YOURSECRETWORDHERE to something else. It can be any word you want. Just make sure it’s unique and somewhat long. Make it, like, your pets name or something random. Read this post to understand why this matters.
* Change ADMINFOLDER to the new folder name you want. Letters, numbers, underscores, and dashes only. That ^ in front of it is on purpose. Don’t delete that.

 

Now your blog is a bit more secure than before….ENjoy..!!!!!!!!!!!



This post first appeared on Things You Should Know About Linux !!!, please read the originial post: here

Share the post

Changing Wordpress admin link to whatever you like.

×

Subscribe to Things You Should Know About Linux !!!

Get updates delivered right to your inbox!

Thank you for your subscription

×