We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36816
    • 109 Posts
    clareoconsulting Reply #1, 12 years ago
    Greetings,

    First -- I've searched 'round for this answer, and don's see anything that addresses it. If I missed it, sorry.

    I've been developing a new site on a host under the "temporary" URL before the DNS is switched to point to the host, so the in-development home page has beenin the form http://000.000.000.000/~mytemp/ . On the live site, the equivalent home page will be http://www.example.com/, in other words, one level lower in the URL scheme.

    Friendly URLs have been enabled and working on the temp URL and I want them to continue on the permanent.

    I've used the following steps to handle the transition away from the temporary URL in Evo, but this is my first such transition for Revo.

    Will it work in Revo?


    • Clear cache & don't revisit temporary URLs
    • Adjust the RewriteRule in .htaccess where I added the "/~mytemp" prefix to get friendly URLS to work while on temp URL
    • Aim DNS to point at host
    • Clear browser cache
    • It would be best to re-run setup as an upgrade to update the config file with the new URL structure after getting the DNS pointing at the site. However, you can manually edit the *_url values in your config file in core/config/ and manually delete the contents of core/cache/ after following your steps to approximate this (with the exception of truncating any database sessions, which re-running setup would also do for you).
        • 36816
        • 109 Posts
        clareoconsulting Reply #3, 12 years ago
        Good 'nuf. Thanks.

        Think for Revo, I'll get in the habit of keeping the setup around post-install until launch, and just chmod it's directory to keep others out of install in the meantime.