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

    Trying to include any third party JS files with:

    <script src="http://some_domain.com/path/to/file" /> gets overwritten with <script src="http://current_domain_from_multidomain_installation/some_domain/path/to/file" />

    Is it related to the <base href... /> ?
      • 22448
      • 241 Posts
      As is often the case the answer is simple.
      I forgot to assign the host_url tv to this particular template.
      After the assignment the problem is solved.

        • 23194
        • 4 Posts
        Kiril, big thx for you solution of PHx.

        I found other trouble - Google Sitemap is not show urls of my documents.... After multiple Domains was installed i mean.
        Have we any solution now?

        thx

        === add leter:

        No need, i found. But have any other the little problem
        http://www.domainindex.html	2011-07-20		
        http://www.domain/product.html	2011-06-03		
        http://www.domain/shop.html	2011-07-05		
        http://www.domain/gallery.html	2011-07-25


        How to correct http://www.domainindex.html??
          • 22448
          • 241 Posts
          @Phantomik

          i haven’t looked at the site map snippet yet. i will have to soon, no doubt
          but if you find a solution please do share
            • 23194
            • 4 Posts
            Ok, when solution will done, i’ll share it.
              • 24208
              • 17 Posts
              gonna digg deeper into this tonight. i did find this article earlier, but need it just now for my new multilevel online i-marketing project. looking forward to see it running, 30+ domains are waiting on the server to get managed by modx..

              anyway, did i forget to say I LOVE MODX ?!

              regards smiley
                • 24208
                • 17 Posts
                firstly i have missed to point all domains into the same directory using one .htaccess file. after i realized, all have been done smoothly. minor issues will face later, for me is realy important to have one administrative accound with being able to have different templatization for each subdomain and use cross side linking. Thank you for making this public. it is realy a great tutorial smiley