We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27948
    • 3 Posts
    Hi it’s probally really easy to change but I just can’t find the option. But none of the menu links are including the different http port that I use. They’re all coming up just as default port 80 like:

    http://www.mysite.com/modx/index.php

    When I want it as:

    http://www.mysite.com:47566/modx/index.php

    Any idea where it is that I can change this?
      • 27948
      • 3 Posts
      *Bump*

      Any ideas? I won’t bump it again if no one answers this time. I guess it isn’t as simple as I thought it might be!
      • Quote from: solifidian at Apr 06, 2006, 10:53 PM

        *Bump*

        Any ideas? I won’t bump it again if no one answers this time. I guess it isn’t as simple as I thought it might be!

        I honestly have never tested MODx on a nonstandard port (other than SSL, which is a little different). But it should be determining the port in the config file when building the site_url config value. I’ll have to play around with it tonight if I get a chance and see if there is an inherent problem, or easy solution to this.
          • 27948
          • 3 Posts
          Thanks for the offer! But I seem to have got it to work. I added this to the config.inc.php file so it wouldn’t try and find the details automatically:

          $base_path = "/var/www/modx/";
          $base_url = "http://www.mysite.com:47566/modx/";
          $site_url = "http://www.mysite.com:47566/modx/";


          That didn’t seem to work at first but when I turned the friendly URLs on and off it seemed to start put the port in the links and now its working like a treat!

          But thanks for your help! And your offer of investigating it for me! I really appreciate it.