I want to rename my CometChat folder. How can I do that?

You can rename the CometChat folder to any name of your choice. In this tutorial, we will rename it to chat.

First rename the “cometchat” folder to “chat”

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.

Go to Settings -> Change Base URL section and update the Base URL.

UBU

Edit the CometChat HTML code in your site template.

Your original code should be something like:

<link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" /> 
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>

Your new 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>

Not finding what you need?

The CometChat team is here to help!