We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33992 ☆ A M B ☆
    • 455 Posts
    Hello,
    I have a blog in one level pages like this:
    http://domain.com/php/page1.html
    http://domain.com/php/page2.html
    
    http://domain.com/modx/page1.html
    http://domain.com/modx/page2.html


    And i want to create urls in this way (Subdomain is first parent):
    http://php.domain.com/page1.html
    http://php.domain.com/page2.html
    
    http://modx.domain.com/page2.html
    http://modx.domain.com/page2.html


    I know that i must modify patterns in .htaccess to use these urls but problem is about making urls!
    Has someone any idea to make urls like above or is there any addons for that?
    I’m looking for some way which is not DocumentParser::makeUrl hacking....



    Regards,
    AHHP
      God loves me. 【ツ】


      MODX.ir (Persian Support)

      Boplo.ir/modx/ (Persian)