• Hi there,

    The thing is: I have 2 wordpress instalations, one on the hosting root, another inside one folder of my host (not on the root).

    The first one works perfectly, but I have been struggling to make wordpress identify the second instalation, because it is not on the root directory. I have tried to edit the “WordPress address (URL)” and the “Blog address (URL)” to all possible ways, but no way, it doesnt really totally connect to the domain.

    If you type the domain on the webbrowser (for example, https://www.secondsite.com), the site opens correctly but the address https://www.firstsite.com/secondsite automatically appears, as for the rest of your browsing.

    I really need to know how to have several wordpress instalations on the same hosting account (it is how it works nowadays, and it is much more economical), each one of the sites with a different and unique domains, working perfectly. Not even the hosting companies seem to be able to answer me this.

    Hope someone can clarify me on this one.

    Thanks very much,
    Rui Zamith

Viewing 3 replies - 1 through 3 (of 3 total)
  • You either need to create a new database for each install or give each install a differing table prefix for each in stall in the wp-config.php

    $table_prefix = 'wp_'; = blog 1
    $table_prefix = 'wp_2'; = blog2
    $table_prefix = 'wp_3'; = blog 3

    etc.

    Thread Starter rzamith

    (@rzamith)

    Samboll,

    Thanks for your answer. Well, I have different databases for each of my installations, but still I’m not able to make wordpress recognize the domain, mostly because the wordpress url of the second site is something like myhost/thesecondsite, not on the root directory of the host.

    I am sure it is something I am doing wrong, but when the installation is located on the root directory of my host, everything goes normal.

    Hope you understand my issues.

    R

    I assure you there is not a problem installing wordpress in a folder or 2 or 3 or….

    Look in the database and make sure your 2 blog url’s are correct and point to a real location:
    https://www.tamba2.org.uk/wordpress/site-url/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Having several WordPress instalations inside 1 host’ is closed to new replies.