• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

How Can I Change my Sites Domain?

brightboss

Chevereto Member
I know this is a really simple question. But I want to change my site name from "Example.com" to "www.Example.com" How can I change it? I looked in settings and could find where to change it.
 
You can't do it at script level because Chevereto uses the detected domain/subdomain in your website setup, that is in your server settings.
 
Would be nice if we could specify it in the code as an option in settings panel. For the meantime I have updated my .htaccess file with this code.


RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://www.example.com/$1 [R,L]
 
Even if you can tell Chevereto to use/not use www is your server which does that resolution, that said, if you don't deal with that at server level you will have conflicts because you will have two websites (www + non-www) and what you did is the proper way to handle this.
 
Back
Top