Support » Fixing WordPress » subdomains and sub-blogs

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tricky question…
    If the “translated” blogs have to appear at different location/subdir (i.e. myblog.es/pt) then yes, you will have to have different installation for them. Basically you’d have 3 WP installs:
    one in the root (for Spanish)
    and two in two different dubfolders: /pt and /en
    However, you don’t need different databases: you could have them all in the same database – just having different table prefixes for the different installs. See your config file.

    As a side note: you may want to take a look at the multilingual blogging possibilities.

    Thanks for your quick answer, Moshu!

    Sorry but I am not sure I understand what you mean by

    ‘you could have them all in the same database – just having
    different table prefixes for the different installs’

    You mean it could be enough with creating in /wordpress two subdirs /wordpress/pt/ where it is placed the other installation (so I finally will have /wordpress/pt/wodpress)
    and change

    $table_prefix = ‘wp_’;

    with

    $table_prefix = ‘wp_pt_’;

    in /wordpress/pt/wordpress/wp-config.php?

    1. For the main blog you install the WP files in the root – no “wordpress” directory. You install the files in your public_html or www or httpdocs directory – whatever your server setting is.
    2. The you create a subfolder called “pt” and another “en” and install WP again in those folders.
    3. Yes, just by changing the table prefix, will work. However, I’d recommend not to have two underscores [_] in the name, so, you can have for the main:
    wp_
    and for the English “en_” and for the Portuguese “pt_”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘subdomains and sub-blogs’ is closed to new replies.