Domain inside domain

  • I would really appreciate some help.
    I have a hosting package which allows me to have multiple sites.
    So I have 2 domains, lets say domain1.com & domain2.com.

      domain1.com is on root file (/)
      domain2.com is in a file inside root (/domain2)

    When I write on bar address domain1.com i get domain1.com, which is what i want. When I write on bar address domain2.com i get domain1.com/domain2, but I want domain1.com. What should I do?

    Because I have tried to change the Site url both on wordpress general settings and database, but it didn’t work.

  • Hi there,

    As you mention editing the database, I guess you are talking about WordPress.org self-hosted sites, and not one hosted on WordPress.com.

    To clarify, could you please post the url of the domain(s) you are talking about?

  • The topic ‘Domain inside domain’ is closed to new replies.