We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50042
    • 3 Posts
    Hi there!

    I'd migrated a Revo 2.2.14 site to another server

    All ran fine but urls, all of them that were built by [[~[[*id]]]] or [[~[[+id]]]] or even [[~2]], for example, don't work in new server.

    Anybody has an idea that what's going on?

    Kind regards and thanks in advance

    This question has been answered by sottwell. See the first response.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      What do you mean by "don't work"? Try clearing the cache.
        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
        • 50042
        • 3 Posts
        Quote from: sottwell at Mar 11, 2015, 02:25 PM
        What do you mean by "don't work"? Try clearing the cache.

        Sorry, I mean all href are empty

        and yes, first thing i did after migration was clear cache
          • 46886
          • 1,154 Posts
          make sure you have your base url ref: <base href="[[!++site_url]]"> And I think you have to specify the url in system settings as well.

          If you don't, then I am pretty sure the other stuff won't work.
          • discuss.answer
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Check your config.inc.php file to make sure that all paths and URLs are correct.

            You can also run the setup in upgrade mode after moving a site, this usually corrects paths and settings for you.
              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
              • 50042
              • 3 Posts
              Quote from: sottwell at Mar 12, 2015, 02:56 AM
              Check your config.inc.php file to make sure that all paths and URLs are correct.

              You can also run the setup in upgrade mode after moving a site, this usually corrects paths and settings for you.

              Thank you! I solved it running upgrade mode and reinstalling getResources package