We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30711
    • 70 Posts
    Hello! Coming back to ModX after a few years break. A lot has happened in between and I have relocated to another country. I have just installed the latest ModX on localhost and can't wait to start building my new website. I have a few questions thou.. here are the facts:

    I have an old photography website that has a photography blog. It is running on Revolution. It is ranked quite well and the domain includes the name of the country where I don't live anymore, therefore I produce very little content for that website. I like the domain and it makes sense to keep it, as I will keep producing some content to the site in future.

    I want have one website where I can publish all the future posts but it also includes old posts from the old site as well. You could browse therough the new site and naturally go from new posts to old posts from previous country without noticing anything. But, I would also like to keep the old site living so I won't lose the ranks and it would still exist as a "brand" and a separate website as well. I hope you understand what I mean.

    I am not sure which would be the best way to go from here. I'd like to have mylastname.com as the main site so in future when I post from the country where I am living now and/or if I do photo trips to other countries I will not be limited by the domain name as is the case with the old one. I would also want the old domain to have a relevant landing page so it can also work as a separate page. I could just tag the old posts with the country name and create some kind of menus for the landing page based on that to keep the old domain alive.

    I'd like to only have to pay for one hosting.

    What would be the best way to include the old site into the new one? Should I build on the old site insted of a new one? (It feels more natural to build a completely new site rather than fix the old one but I am not sure) Move all the content to the new domain and do some .htaccess magic and keep the structure of the old site separate from the new site?

    mylastname.com/photographyblog/newpost1.html - wouls be where new posts are
    mylastname.com/oldcountry/oldpost1.html - would be where old posts would be moved to and masked to olddomain.com/blog/oldpost1.html
    mylastname.com/oldcountry - would be masked to olddomain.com

    Does this make any sense? Or should I just move the old site as it is to the new site and simply keep it as a separate part of the site?

    I'd also like to turn the website into a 2 language website while doing all this.

    Any ideas and tips would be more than welcome.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Revo is designed to work with multiple domains and/or subdomains in separate contexts.

      Just import the old resources first, or import them without IDs so that the database will give them non-conflicting IDs.

      https://rtfm.modx.com/revolution/2.x/administering-your-site/contexts/using-one-gateway-plugin-to-manage-multiple-domains
      http://www.cmstricks.com/blog/2013/05/10/contextrouter-review/

        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
        • 46886
        • 1,154 Posts
        Your goal shouldn't be too hard, it can easily be seamless between the domains, but if working in multiple languages be careful about collations, when you set up the new db and *also* mySQL you can choose the collation there. The collation of the tables usually defaults to latin/swedish and not all characters will appear properly.

        Also in importing contents, collation can cause issues, so set it up right, its harder to fix later. I had trouble importing Chinese, which I think was due to collation issues.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          While you could use Babel and more contexts for the languages, I'd probably be inclined to use MIGXMultilang or Lingua for the multilanguage part.
            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
            • 46886
            • 1,154 Posts
            I don't really know what either of those do, but MIGX is a real 'brand-name' in the Modx community, so I think you can trust it will be robust and supported.

            What the heck do they do anyway? Machine-created translations? I have hand-crafted bi-lingual content, never had to worry about a manager.

            Another issue with multi-languages is separate sub-domains or folders...its a no-win situation unfortunately.

            All these are independent issues, by the way ;-)