We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53398
    • 8 Posts
    Hello!
    Excuse me if I explain my problem unclear.
    I've moved MODX to the subdomain and deployed some script for building static site cache instead of MODX (over 50 thousand resources, MODX cache was very slow). Though the topic is not about it. Everything works fine, but now I have to change one thing.

    When I edit resource and press "View" button, MODX opens url with my domain (www.site.com/myresource), but I want it to show me this: www.subdomain.site.com/myresource
    What settings should I change for this? I found only path to the folder on server in configs, but didn't find anything about site url.
      • 17301
      • 932 Posts
      I'm pretty sure in your core/config there is a modx_base_path setting and http_host setting. Have you updated these?
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 3749
        • 24,544 Posts
        Did you run setup after moving the site? That will usually straighten out all the paths and URLs.

        What is the RewriteBase line in your .htaccess file?
          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
          • 53398
          • 8 Posts
          LK, BobRay, thank you for help.