Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Renaming of Admin directory


Enzo_UK

Recommended Posts

When you rename the Admin directory so other people cant go in there and change things.... how do you do it so it still works?

 

So if I go to catalog/what_was_admin/ the buttons in there all still work.

 

As all mine all point to catalog/admin/......php

 

So if I want to change anything I first have to change the name back to admin, do any changes to the products, and then change it back afterwards.

Link to comment
Share on other sites

When you rename the Admin directory so other people cant go in there and change things....  how do you do it so it still works?

 

So if I go to catalog/what_was_admin/ the buttons in there all still work.

 

As all mine all point to catalog/admin/......php

 

So if I want to change anything I first have to change the name back to admin, do any changes to the products, and then change it back afterwards.

 

 

Change admin to newnameadmin

 

Change your configure.php paths so they point to newnameadmin

 

chmod newnameadmin to 644 or better still 444

 

password and user protect newnameadmin using your server security panel

 

chmod configure.php's to 644

 

All done

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...