Quote:
Originally Posted by TeenCat
good idea, thank you, but what about to rename the folder to "-my-h1dd3n-admin-" or similar? i think it will be working well as in the folder wp-admin and nobody will find it ;) but its another newbies  thanks for sharing your useful tips, respect!
|
you can do that, but you have to let wordpress know you are doing that
found this htaccess hack to accomplish just that
Code:
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]
##### Michi?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]