We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12410
    • 353 Posts
    Hi Guys,
    I moved server and need to change the value in site_url
    <base href="[[++site_url]]" />

    I deleted the cache under core/cache, updated the config files, ran set up yet the old domain name persists as the site url in my template. Any ideas where i can change it. Cleared cache in manager and browser too.
    THANKS

    Revo 2.2.0, php 5, ubuntu 12, mysql 5
      • 3749
      • 24,544 Posts
      Are you doing any of your own rewrites in .htaccess?

      It should automatically use the URL you come in on. Did you try from another browser (and did you clear the cookies?).

      You could try:

      <base href="[[!++site_url]]" />



      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html




        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 12410
        • 353 Posts
        Thanks Guys, my bad. A context fed the old url domain name to site url.