Dennis_gull Posted October 18, 2006 Posted October 18, 2006 Is there a way to hide the /admin.php so when you type in www.domain.com/admin you get "page not found" and instead you have to type in a name you picked like www.domain.com/hide so other people cant enter it? Its kinda annoying if I have to change the admin folder name because then I have to change every link thats in /admin to get it to work like it should.
bill110 Posted October 18, 2006 Posted October 18, 2006 Is there a way to hide the /admin.php so when you type in www.domain.com/admin you get "page not found" and instead you have to type in a name you picked like www.domain.com/hide so other people cant enter it? Its kinda annoying if I have to change the admin folder name because then I have to change every link thats in /admin to get it to work like it should. have you tried to password protect it through the control panel of your host. you could also protect it with .htaccess. My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
Dennis_gull Posted October 19, 2006 Author Posted October 19, 2006 Are you on a *nix or windows platform? Im not quite sure what web server I use, I can create a protection on the admin folder with .htaccess but theres no way to enter the folder then.
Dennis_gull Posted October 19, 2006 Author Posted October 19, 2006 Are you on a *nix or windows platform? Im not quite sure what web server I use, I can create a protection on the admin folder with .htaccess but theres no way to enter the folder then.
Dennis_gull Posted October 19, 2006 Author Posted October 19, 2006 ops dont know why It double posted.. anyways can you tell me how to protect it with .htaccess so I can access it.
GemRock Posted October 19, 2006 Posted October 19, 2006 You could change the admin folder to something difficult to guess, eg, dYk8Bn9 before you find out how to password protect it - even after you've password protected it, you could still leave it that way, That's a double security. You only need to change two lines in the configure.php under admin/includes/ define('DIR_WS_ADMIN', ) define('DIR_FS_ADMIN', ) So, not a lot of trouble, is it? Ken Is there a way to hide the /admin.php so when you type in www.domain.com/admin you get "page not found" and instead you have to type in a name you picked like www.domain.com/hide so other people cant enter it? Its kinda annoying if I have to change the admin folder name because then I have to change every link thats in /admin to get it to work like it should. commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience.
wizardsandwars Posted October 19, 2006 Posted October 19, 2006 Your webhost should have provided you with a way to password protect files or directories. If you have a cpanel to administer your website, it would be in there. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.