We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40122
    • 330 Posts
    I developed a site for a client before a domain name was chosen. As a result, the URLs for the site pages look like:

    http://host.mynost.net/~tempname/index.php?id=8


    A domain name has now been purchased but if I click on any Wayfinder links it still uses the old path as above instead of, say:

    http://domainname.com/index.php?id=8


    I assume this is configured in the congig.inc.php file, but I am unsure of what to change.

    Can anyone point me in the right direction? Thanks!
    • You'll need to change quite a number of lines in the config.inc.php file. You can do a search-and-replace in any text editor. I think running the installer in upgrade mode will do the changing for you.

      Don't forget to clear the cache to get rid of cached pages with the old URLs in the menus.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org