change admin directory in cmsms 1.10.x? Topic is solved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
SolsWebdesign

change admin directory in cmsms 1.10.x?

Post by SolsWebdesign »

Hello,

Usually I change the admin directory in the config.php by changing something like $config['admin_dir'] = 'whatever'; but in cmsms 1.10.x I seem to miss a $config['admin'] in the config.php. Can I still change the admin directory by adding this?
:)
Update: no such luck: I get a lot of strange "add me's" in the admin/login.php screen and whatever/login.php gives me a not found error.
:'(
How to change admin/login.php?
uniqu3

Re: change admin directory in cmsms 1.10.x?

Post by uniqu3 »

In the /doc folder you will find a .pdf file with all possible and available $config settings.
$config['admin_dir'] = 'foo'; works fine for me.
SolsWebdesign

Re: change admin directory in cmsms 1.10.x?

Post by SolsWebdesign »

Thank you, I found the PDF but I get a lot of errors when I add $config['admin_dir'] = 'foo'; to my config file. www.yoursite.xx/foo/ will give me a not found error. and www.yoursite.xx/admin/login.php still gives me a login backend but with all sorts of strange "Add me" sentences. I cleared cache and stuff but nothing helps. What am I missing?
uniqu3

Re: change admin directory in cmsms 1.10.x?

Post by uniqu3 »

And you did RENAME /admin folder to foo?
Or using some Admin theme that is not 1.10.x compatible, or have some .htaccess rule that redirects you?
QueenOfStarWears
Forum Members
Forum Members
Posts: 12
Joined: Mon Nov 09, 2009 9:23 pm

Re: change admin directory in cmsms 1.10.x?

Post by QueenOfStarWears »

Just to add my 2-cents...
It worked for me.

Added
$config['admin_dir'] = 'pizza';
to the config file
Renamed the admin dir to
pizza

Using NClearnGrey & CMSMS version 1.10.2
SolsWebdesign

Re: change admin directory in cmsms 1.10.x?

Post by SolsWebdesign »

Thank you, Uniqu3, for pointing me in the right direction: the new FTP program I used was a bit strange: it didn't rename the directory, it just made a copy with a strange name... It took me a while to figure it out. Back to Firezilla I guess :)
Post Reply

Return to “CMSMS Core”