Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Rename your site in Basic Settings

  • #9557
    Avatar photo[anonymous]

    I thought I would rename my site, now that it is coming along.  I tried editing the name in the Basic Settings as the interface seems to suggest you can do.  If I save and preview I get a message telling me my site does not exist.  Sometimes I get a Javascript error (see attachments).

    I am able to change the name of my site by cloning the site and giving it the name I want it to have.

    Anyone else have this issue?  I am using Version: 0.41.1 (build 15919).

    #9562
    Avatar photo[anonymous]

    I’ve never come across that problem when using any of the Publii themes. Which Publii theme is your ‘Rational’ theme based on?

    #9607
    Avatar photo[anonymous]

    It is a copy of Simple.  The only change I have made so far is renaming the theme in config.json and renaming the language file to match the theme name.

    I will test on a different computer.  Could just be a glitch on this machine.

    #9629
    Avatar photo[anonymous]

    I’ve seen the same issue. Restart Publii to resolve. I’m guessing that it renames the site name in the site folder and doesn’t re-initialize everything.

    #9665
    Avatar photo[anonymous]

    Sorry for the delay in getting back. As @MichaelThwaite suggests, yes, certainly do restart Publii. I automatically do that whenever changing theme, doing theme updates, etc., so maybe that’s why I’ve not come across the issue previously. Fingers crossed.

    #9682
    Avatar photo[anonymous]

    I had this kind of issue when I was using Google Drive or even Nextcloud for. /sites/*

    In my case I resolved that by moving the preview directory outside of my Google Drive.

    For your case I would try to copy/duplicate my site with the new name instead of renaming it.