Jump to content

Using htaccess DirectoryIndex for Different Home Page


Recommended Posts

Will using the DirectoryIndex directive in .htaccess affect WHMCS in any way?  All the calls WHMCS tries to make seem to be directed to index.php, so there does not appear to be a problem.

.htaccess

DirectoryIndex main.php

Is this the best way to change the default home page or is there a better way?

Link to comment
Share on other sites

  • 3 weeks later...
  • WHMCS Technical Analyst II

Hello,

It shouldn't cause any issues. However it may be easier to edit the homepage.tpl file in your custom template in the /templates folder if you wish to make any specific changes to the homepage itself. For information on editing template files, please refer to our documentation at https://developers.whmcs.com/themes/customising/

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.

×
×
  • 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