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!
There are no comments for this article.
Date: 05/16/11
Author: Jesse Schutt
I'm particularly interested in how the body class is added when the mojobar is opened! That was one that was hard to get around in the past.
Feb 09, 2012 3:20am