• Resolved ambcompte

    (@ambcompte)


    Situation. I have to blogs on the same server.

    First: version 1.5 (havent updated yet) https://www.ambcompte.net (installation on ambcompte.net/wordpress)

    Second: version 2.01 on https://www.ambcompte.net/cuina (installation on ambcompte.net/cuina/wordpress)

    Problem: everything looks okay, but I have some problems on the second blog. Some links go to pages in the first blog or they go to a 404 page. Like “next page” at the end of the blog. Or the pages: archives, about… It is like if the page has the same name as in the first blog, then the link goes to a page in the first blog. If it’s not, 404.

    I have no clue what can this be

    PD: excuses for my english ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • With the 2 blogs, do you have different prefixes for the tables? If not, you’re going to have this problem and more in the future if using the same database.

    Open the wp-config.php for each blog and look for this line:
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp_'; // Only numbers, letters, and underscores please!

    This blog is setup for wp_ to be the prefix (default setting). Only one blog can have this – the other needs a prefix like wp1 or something different.

    Thread Starter ambcompte

    (@ambcompte)

    Thanx. Both have the same prefix. I’ll try to change ‘something’ later, see if it works ??

    Change it now! That should be the first thing It cannot work with the same prefix!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 wordpress blogs on same server. Some links go to the wrong blog’ is closed to new replies.