ModX Revo: Update sites base URL?

MeltingDog picture MeltingDog · Feb 22, 2013 · Viewed 7.8k times · Source

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 config.inc.php file, but I am unsure of what to change.

Can anyone point me in the right direction? Thanks!

Answer

Vasis picture Vasis · Feb 22, 2013

You need to change $modx_base_url= '/' in /core/config/config.inc.php and if that is not enough - manually clean /core/cache/ folder.