Security Concerns
Posted: Sat Feb 16, 2013 11:12 pm
I thought it would be smart to, for instance, change the name of my admin directory so as to not make it as simple to hack my site. E.g. change it from admin to fred. However when trying that I get a
I thought maybe that the admin directory was mentioned in the config.php file but it is not. It crashes on the last line of header.php file. I don't really want to mess with the core code but figured there should be an easy way to reduce the security risk of having a well known directory name called admin where all know that's an easy place to start if you want to mess with somebody. I first thought of this when I noticed that on my new site as I was pre-loading news articles that I happened to be using my admin login so the news articles contain that user name. So given that admin is the directory and my admin user name is on the news then you are already half way there. I'll of course redo the news articles with a different user name (As an aside that would be nice if that was a selectable change but doesn't appear to be so) So back to my question. How can you get the site not to complain about changing the admin directory to a different name?Fatal error: Call to a member function do_header() on a non-object in /home/mysite/public_html/cmsms/fred/header.php on line 133