The MojoMotorist - For All Things Related to the MojoMotor CMS

Removing the Temporary URL

I was just installing a copy of MojoMotor for a domain that hadn't resolved yet, so I was using the temporary address, which looked something like "http://foldername.sitename.com". During the installation process I noticed that it didn't ask for the site url, so out of curiosity I jumped into the database to see what Mojo had put in for the "Site Path".

Sure enough, it had grabbed the temporary address from the url.  The site would continue to work once the domain name had resolved, but any links that used the “site_path” variable would silently switch the user’s URL to the temporary address instead of keeping the clean, resolving url.

Fortunately this is a quick fix.  Just jump into the database using something like PHPMyAdmin and look for the “mojo_site_settings” table and update the “site_path” to the correct URL.  Now any links generated by MojoMotor will use the correct URL!

Comments

There are no comments for this article.

 

Leave A Comment

Commenting is not available in this channel entry.