• Hello,

    I have a wordpress site at http://www.abc.com. Then i set up a new site at address http://www.abc.com/website

    But now I want to access http://www.abc.com/website using http//www.xyz.com

    http://www.abc.com is mapped to “Public_HTML” folder and there is a folder “xyz” inside “Public_HTML” with which xyz.com is mapped to. Both abc.com and xyz.com are on same hosting server.

    So I copied the files from folder “Public_HTML\website” to “Public_HTML\xyz” and changed the site url and wordpress url at http://www.abc.com/website/wp-admin, so now I am able to access whatever content was at http://www.abc.com/website using http//www.xyz.com

    But now I am not sure whethet the two sites that is http://www.abc.com and http://www.xyz.com are referring to same database or using different database. If both sites are using same database, then will there be any problem in using both sites on same database? If yes then how I can make both site point to different database without affecting the contents of both site?

    Thanks,
    Anna Jhaveri

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    The database connection details are stored in the wp-config.php file, and if you’re still unsure, add a widget to one site and make sure the change isn’t reflected on the other. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Database for WordPress site’ is closed to new replies.