Support » Fixing WordPress » 2nd blog shows up as 1st blog.

  • Hi, I posted early this a.m. but haven’t received any answer.

    I got blog1 up and running last week.

    I have another (add-on) domain in my hosting account and wanted blog2 there. The two URLs should be completely different: and

    So I created a second database (not a second table) for blog2 and added wordpress as a user.

    I installed WP in a new folder named blog, under domain2, which of course in my file system is under domain1.

    Pictorially the file hierarchy is like this:

    -public-html (for main acct,
    –domain2 (appears in browsers as

    I log into blog2, set up permalinks and the URIs. But all of a sudden I see my info for blog1. I freak out. I click “view site” and see blog1. I can’t get the admin page or the blog of blog2.

    I open blog2’s wp-config file and inexplicably, the database is db1 – not db2 that I set up! I change it. But now I go to blog1 and I see blog2, the other way around! My config file permissions are 644 so how are they being changed?

    I tried creating a second user for db2 instead of sharing one “wordpress” user. No effect. I used phpMyAdmin to make sure the site and home fields were correct, and they were for both databases.

    Please, somebody, tell me what is happening, what I did wrong, and what I must do to fix it!

Viewing 1 replies (of 1 total)
  • Perhaps this is a clue?

    When I load I get domain1’s blog in the browser … BUT

    when I load www . domain2. com/blog/index.php, which would be the actual path to the blog, I do get the domain2 blog (yay) … with one difference … instead of showing the default post, it shows “Sorry no posts matched your criteria.”

    So … does that help anyone figure out what I should do?

    I still can’t get domain2’s admin page, it keeps reverting to domain1’s.

Viewing 1 replies (of 1 total)
  • The topic ‘2nd blog shows up as 1st blog.’ is closed to new replies.