Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Re changing admin name etc.


Guest

Recommended Posts

Posted

Hi

I read this earlier

 

"Renaming the admin directory has always been a good measure but was never prominently advised in the install procedure. After you rename the admin directory you will have to change two lines in the renamed_admin_directory/includes/configure.php:

 

define('DIR_WS_ADMIN', '/renamed_admin_directory/');

define('DIR_FS_ADMIN', '/your/path/to/directory/renamed_admin_directory/');"

 

However I can't find the above 2 files to rename what I have in my configure.php is;

 

define('HTTP_COOKIE_PATH', '/store/');

define('HTTPS_COOKIE_PATH', '/store/');

define('DIR_WS_HTTP_CATALOG', '/store/');

define('DIR_WS_HTTPS_CATALOG', '/store/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/kidzpatc/public_html/store/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Can someone tell me which file/s I need to rename, or what I need to do.

 

Many thanks

 

Grandpa

Posted

Hi,

 

There are 2 configure.php files.

 

one in admin/includes/

 

the other in catalog/includes

 

check them both.

 

when you have found the lines, change the word "admin" to whatever you are remaming your admin directory as

 

Thanks

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Can someone tell me which file/s I need to rename, or what I need to do.

 

I think you need to read more carefully.

 

renamed_admin_directory/includes/configure.php

Posted

You posted the configure.php file for your store not the admin.

 

The configure.php file for your admin is located in /store/admin/ includes/ folder. You'll find the 2 lines to change there.

Posted

You posted the configure.php file for your store not the admin.

 

The configure.php file for your admin is located in /store/admin/ includes/ folder. You'll find the 2 lines to change there.

Hi

 

Many thanks. Found it. I should have read a little more carefully.

 

Many thanks

Grandpa

Archived

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

×
×
  • Create New...