Jump to content

Changed admin directory and...


bubbasheeko

Recommended Posts

Now when I login as the client from the client details in admin and click on the link to go back to admin it tries to pull the page using the original location. IE. the admin directory was /admin/ now it is, say, /testadmin/. When I click on the link at the top right when logged in as the client to go back to the admin it brings me back to http://mydomain.com/admin/ instead of the correct path http://mydomain.com/testadmin/

 

Any ideas how to fix it?

Link to comment
Share on other sites

Verbatim from the manual:

 

Malicious users who visit your site and recognise a WHMCS install will know that they can try logging into your admin area via the admin folder. To protect against this, you can rename the admin folder name to any name you like. You cannot move the folder - only rename it. You can then tell WHMCS what the name of that folder is for the links in admin notification emails by adding the following line to your configuration.php file:

 

$customadminpath = "myadminname";

 

Replace "myadminname" above with the new name you just gave to your admin folder.

 

Also remember to reissue your whmcs license after doing this, otherwise, you will be unable to login to your admin area. To do this, login to your client area at http://www.whmcs.com/clients, click on 'My Licenses', click on the edit icon next to your licence and then on the 'Reissue License' button.

 

Finally, if you have already created a cron job, or one has been created for you, you will need to update the path on the cron as well.

 

Example: php -q /home/mylogin/public_html/secure/myadminname/cron.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated