• Hello there,

    Is it possible to have one wordpress installed in the directory of another?

    For instance https://www.site1.com and site1.com/site2?

    One of my friends runs a woocommerce shop, and wants to have a trade only version as either a subdomain or /site2 however, when I try this and visit the original site just loads and says page cannot be found.

    Any advice on how I can get it working?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, it’s possible. I have one like that.
    I have WP installed in two different folders. One controls its folder and the other controls the root. I had the one in the folder first and added the one for the root later.
    I don’t have any special redirects in the .htaccess files though.

    Tyler

    (@tylerthedude)

    Hi there,

    Yes, you can use have two separate WordPress installations in the same directory. However, you will need to create a sub-directory of the main directory where the root WordPress installation is. So it will technically be a “sub-directory” of the root directory, but it will be its own entity. But you seem to know this considering you put a subdirectory link (site1.com/site2).

    You will need to create the sub-directory (site2) relative to the site1 directory. Assuming you’re hosting this remotely it’s most likely in the public_html directory of your server. You will need to create another directory in there and call it “site2” or whatever the sub-directory path will be.

    From there, you can install WordPress into that sub-directory and follow the instructions for installing WordPress as needed.

    Hopefully, this answered your question!

    Thanks!
    [ Signature moderated ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 wordpress sites on the one domain?’ is closed to new replies.