Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wanna hide /admin.php


Dennis_gull

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...