Jump to content

Rename index.php


EksoKen

Recommended Posts

I try to explain why since nobody replies.

I have whmcs installed in main directory, also will everything go to index.php in whmcs, now we are developing new websites and we wont move whmvs therefore i need a solution where i can rename the index of whmcs to something else without making any troubles for the rest of the system, how can i do this???

Link to comment
Share on other sites

I wouldn't recommend renaming the index.php file as it could cause some issues.

 

If you are wanting to display a custom page when a user visits your domain, you can always edit the homepage.tpl file and put your sites content directly into that template file or you could even do a redirection from the homepage.tpl to redirect visitors to another page to display your public site.

<script language="javascript">
    document.location.href = 'index2.php';
</script>

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