I have wordpress installed in subdirectory folder named “thumbs”. I also followed the steps here.
Everything works fine but if I go to www.mysite.com/wp-admin
it redirects me to www.mysite.com/thumbs/wp-admin
, I don’t want that to happen because I want the subdirectory folder to be secret.
So what I want is if I visit or somebody visit www.mysite.com/wp-admin I want the wordpress 404 error page to display. Thanks in advance for the help.
What am I missing?
You should modify your root
.htaccess
(notthumbs/.htaccess
) file to add a rule forwp-admin
, e.g. :Change your HTACCESS with this code