Forums

[resolved] Multiple Instalations help (9 posts)

  1. rmorales
    Member
    Posted 5 years ago #

    what doi do to use multiple instalations in the same database or only database using diferent templates ?
    I`m already using 4 instalations with the same base, but when I click in a POST it returns to blog1 template (1ºinstalation)... =(
    please I would like that each blog had its own template using the same base ...

  2. Chris_K
    Member
    Posted 5 years ago #

    For each installation of WP that is to share a database, be sure to change the table_prefix in the wp-config.php file.

    More reading: Installing_Multiple_Blogs

  3. rmorales
    Member
    Posted 5 years ago #

    I`m already using 4 instalations with the same base, but when I click in a POST(BLOG 4) it returns to POST(BLOG 1)template (or 1ºinstalation)... =(
    please I would like that each blog had its own template using the same base ...

  4. Samuel B
    moderator
    Posted 5 years ago #

    Do all the blogs have a different PREFIX in the MySQL DB for the Wp tables? If not you'll have the issue you're having.

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

    Where you see the wp_ is the table prefix. Is this different for all blogs?

  5. Chris_K
    Member
    Posted 5 years ago #

    (@rmorales: like, read my post!)

  6. Samuel B
    moderator
    Posted 5 years ago #

    @Handy
    That would save a lot of time. The codex article is excellent. I'm thinking English isn't his native.

    @rmorales:
    ¿Todos los blogs tienen un diverso PREFIJO en el DB de MySQL para las tablas del Wp? Si no tendrás la edición que estás teniendo.
    Mirar en tu wp-config.php para este pedacito:
    // puedes tener instalaciones múltiples en una base de datos si das cada un prefijo único $table_prefix = “wp_”; ¡// numera solamente, las letras, y las rayas satisfacen! Donde ves el wp_ es el prefijo de la tabla.
    ¿Está esto diferente para todos los blogs?

  7. rmorales
    Member
    Posted 5 years ago #

    Please - help ..
    I`m already using 4 instalations with the same base + same tables, but when I click in a POST(BLOG 4 = example.com/blog4) it returns to POST(BLOG 1 = example.com/blog1)template (or 1ºinstalation)... =(
    please I would like that each blog had its own template using the same base and same table prefix ...
    please sorry my english ...

  8. rmorales
    Member
    Posted 5 years ago #

    @samboll "Está esto diferente para todos los blogs ?"
    nao esta ...
    tenho 4 instalações , cada uma delas tem seu template , preciso somente fazer com que os links do blog4 apontem para blog4 , ou seja , quando estiver no blog4 , tera os mesmos posts , paginas e categorias , somente o template muda(diferente) ...
    por isso estou usando o mesmo banco de dados e o mesmo prefixo de tabela ..
    em ingles ..

    I would like that each blog had its own template using the same base and same table prefix ...

    *Sr. Handysolo -
    I , ready your post ... =)

  9. rmorales
    Member
    Posted 5 years ago #

    Sr. Handysolo - sorry
    I read y post =)

Topic Closed

This topic has been closed to new replies.

About this Topic