mrwrx87 Posted January 31, 2018 Share Posted January 31, 2018 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 More sharing options...
brian! Posted January 31, 2018 Share Posted January 31, 2018 you could move the installation by following the steps below... Remove anything that may conflict with WHMCS from your public_html directory. 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. Move your files from inside your'/WHMCS' folder to the directory of your choice directory (e.g using File Manager in cPanel). Re-issue your WHMCS and enter the new license code when it’s requested when you go to login to your admin panel. 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. 1 Link to comment Share on other sites More sharing options...
twhiting9275 Posted January 31, 2018 Share Posted January 31, 2018 (edited) 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 February 1, 2018 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 More sharing options...
Recommended Posts