Softaculous


Topic : Custom WP Install, Different Admin Link


Posted By: sitedartweb on July 23, 2019, 5:18 pm
Hey all,

First post...so, hello.

I have created a new custom install of Wordpress with a few plugins we use. One plugin redirects wp-admin to a new link (/siteadmin).

I have edited the info.xml file to include the new admin (<admin>siteadmin/</admin>), which displays correctly when installed...but, it looks like softaculous is storing either wp-login or wp-admin. when I click the link, it, of course, gives a 404.

Can we change the admin/login link for the softaculous installed app?

Thank you

Posted By: Brijesh on July 25, 2019, 9:34 am | Post: 1
Hi,

Please add the following lines to the install.php in the __install() function of your custom script :
PHP Code

 $software['adminurl'] = $__settings['admin_folder'] = $__settings['adminurl'] = 'siteadmin';
sfileindex($software['adminurl']); 



-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: sitedartweb on July 25, 2019, 3:26 pm | Post: 2
Ok....this threw me off. Since we used the Custom Wordpress instructions, the install.php is encoded.

So, basically, I need to create an install.php from scratch if I want to set a custom admin login?

Posted By: Brijesh on July 26, 2019, 11:05 am | Post: 3
Hi,

I have sent you some instructions via email.

Please let us know if you need any further assistance.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: sitedartweb on July 26, 2019, 4:19 pm | Post: 4
Excellent. This totally works.

You may resolve as fixed!

Posted By: Brijesh on July 27, 2019, 6:22 am | Post: 5
Hi,

Glad to know it worked.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: e-solutions on April 5, 2020, 8:04 pm | Post: 6
I could use those instructions too please.My ISP cannot understand why I would change my WordPress Admin URL, so will not support making any changes.
I use the standard softaculous WordPress installer so no custom script.
Thanks!

Posted By: Brijesh on April 7, 2020, 11:02 am | Post: 7
Hi,

We did not understand your query.

You want to change the admin URL for your installation ?

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.