Jump to content

Remove /whmcs/ from URL


Recommended Posts

Hi Everyone I hope you are well. 

I don't know if this is possible (although I have seen other providers not have this in their URLS). 

 

With my website for example, if you click on a product to purchase (example: hosting) it will navigate to http://exampleurl.com/whmcs/ followed my the cart and item details. 

Is there a way to remove the /whmcs/ and allow it to flow properly. 

I understand that whmcs is the installation file for it all to run but is it necessary for it to show up like that? I find that it looks a bit messy and unprofessional. 

I've tried moving it all to the /home/user/ root folder but there are difficulties logging back in to whmcs as the admin files are not that (and they must stay within the whmcs folder). 

Any suggestions or help would be appreciated.
Thank you

Link to comment
Share on other sites

you could move the installation by following the steps below...

  1. Remove anything that may conflict with WHMCS from your public_html directory.
  2. Login to your WHMCS admin panel and change the system URL to http://www.yourdomain.com/directory/ (http://www.yourdomain.com/ for root) under Setup > General Settings > General > System Location.
  3. Move your files from inside your'/WHMCS' folder to the directory of your choice directory (e.g using File Manager in cPanel).
  4. Re-issue your WHMCS and enter the new license code when it’s requested when you go to login to your admin panel.
  5. Delete & re-add any WHMCS related Cron jobs you have running. Most users will have the WHMCS automation cron setup (Setup > Automation Settings). In most cases there is a cron job for domain registrars also.
Link to comment
Share on other sites

In addition to what Brian mentioned, you'll have to actually make one more change, to the database itself . This can get quite ugly, but  inside of phpmyadmin (get there through cPanel, plesk, whatever), locate the WHMCS database, select it , and run the following SQL (adjust as necessary)

UPDATE tblconfiguration SET value='http://mywebsite.com' WHERE setting='SystemURL' ;
UPDATE tblconfiguration SET value='https://mywebsite.com' WHERE setting='SystemSSLURL' ;

If you're using v7+, you shouldn't need the second query, but add it anyways, just in case.

I've also put together a pretty decent guide to doing what Brian mentioned, and what I added in  <Removed> . Feel free to bookmark and use that as you need

Edited by WHMCS ChrisD
Removed link to personal site, please do not post links to external sites especially when you report others for the same
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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