You can rename the CometChat folder to any name of your choice. In this tutorial, we will rename it to chat.
Step 1:
First, rename the “cometchat” folder to “chat”
Step 2:
Then login to the CometChat Administration Panel keeping in mind the change of link i.e. http://www.yoursite.com/chat/admin instead of http://www.yoursite.com/cometchat/admin.
Step 3:
Go to "Settings ->General" Change Base URL section and update the Base URL.
Step 4:
Edit the CometChat HTML Docked or Embedded code in your site template.
Your original Docked Layout code should be something like:
<script type="text/javascript" charset="utf-8" src="/cometchat/client/web/js.php"></script><link type="text/css" rel="stylesheet" media="all" href="/cometchat/client/web/css.php" />
Your new Docked Layout code will be:
<link type="text/css" rel="stylesheet" media="all" href="/chat/css.php" />
<script type="text/javascript" src="/chat/js.php" charset="utf-8"></script>