Forums

Require Second Installation using same database content (6 posts)

  1. stiwdio
    Member
    Posted 1 year ago #

    Hi Wonder if anyone can help me.
    I have a WP site I have created. But now I want to create a mobile version, while I'm aware of plugins I want to create my own mobile site.

    I want to create a site in a folder /mobile and for this to use the same database content from the main site. Is this possible?

    I thought about just copying the WP folder from the meain site and placing it the /mobile folder, this dosent really work as all the links reverts back to the root.

    I think basically I need anothew WP installation under /moobile which will use the database content from the main site, however im not sure if this is right or even possible.

    A stepe by step help would be really appreciated as I havent a clue :-)

    Thanks
    Darren

  2. stiwdio
    Member
    Posted 1 year ago #

    further to this, I also cant log into the /mobile/wp-login.php as oce i login it it reverts to the root WP installation

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You can't run two different installs from the same database and have different urls.

  4. stiwdio
    Member
    Posted 1 year ago #

    Any ideas how I can overcome this? Would installing another WP in the mobile folder then point to the other database work?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No. You can't run two different installs from the same database and have different urls.

  6. stiwdio
    Member
    Posted 1 year ago #

    Ive done it; yes you can apparently;

    Read this great article I found, I now have 2 installs using one database content! One at the root and one in a subdomain at /mobile ready for me to create my mobile theme..

    Much thanks goes out the the author of this article!

    http://www.wesg.ca/2008/08/use-1-database-for-2-blogs-with-wordpress-26/

Topic Closed

This topic has been closed to new replies.

About this Topic