Jump to content

Template Six need Base URL tag defined


sentq

Recommended Posts

The problem is:

1) Install WHMCS in sub-directory ex. http://www.website.com/whmcs/

2) Go to: Admin Area -> General Settings -> *Support* tab.

3) Activate KB SEO Friendly URLs (Tick the box), then save.

4) Now go to Knowledgebase section in client area, and enter into any of the categories you have ex. http://www.website.com/whmcs/knowledgebase/1/cpanel

5) Then try to login to your account by clicking on the login button in top navbar.

6) Login will fail as it will submit the login information to http://www.website.com/whmcs/knowledgebase/1/cpanel/dologin.php

 

The solution is to define the Base URL inside <head> section of the template:

 

<head>
<base href="{$systemurl}">
....
</head>

this tag was defined in WHMCS v5.x templates but not since WHMCS v6 release (Six template)

Link to comment
Share on other sites

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