WordPress.org

Ready to get started?Download WordPress

Forums

I'd like one blog displayed in two places (on the same site) (8 posts)

  1. smallflightlessbird
    Member
    Posted 2 years ago #

    I've spent hours reading about multiple installs, database prefixes, networks, virtual multiblogs, etc, but I still haven't figured out how to do what I want to do.

    I've got one blog already (with posts and comments) at "mydomain.com/". I would like to have exactly the same blog show up at "mydomain.com/fr/". (This is the "French" version, although none of the actual posts or comments will be translated - I just need to show some menus in French instead of English.)

    The kicker is that I don't want to just do an occasional mirror of the original blog posts. I'd like it to display exactly the same content, as if it were retrieving content from the same database (i.e. all posts and comments show up immediately in both places). I don't mind if it's a separate WP install.

    I tried just doing a second install and using the same database and prefix as the first, but of course I got an error. I've also tried looking for some kind of database syncing system, but I couldn't find anything that would seem to do what I want it to. I also looked into an automatic RSS import, but that would seem to only get the posts and not the content. I got partway there using categories and tags, but each post still only showed up in one spot.

    I also understand that there is probably a more reasonable way to go about this... I've seen a lot of options, but if you think there's a good one please don't hesitate to mention it.

    Thank you very much for any help you can offer!

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    smallflightlessbird,

    There are many translation plugins in the Plugins Directory.

    Perhaps some already have the ability to only translate part of the site?

    Also, please remember that most modern browsers include a translation method or link when a webpage's default language is not the same as the computer being used, and also that foreign review of .com addresses is quite common (Chrome is very popular for this support).

  3. smallflightlessbird
    Member
    Posted 2 years ago #

    Thanks, but the plugins I looked at didn't seem to do what I wanted. Do you know of one that I don't? The problem really isn't translation at all - I've got somebody to do the translating for me.

    The true issue is how to display one blog in two spots.

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    People use the plugins so they do not have to spend time doing so...the translation occurs automatically in the browser.

    Here is one downloaded about 500,000 times

    "Global Translator automatically translates your blog in the following 48 different languages: Italian, Korean, Chinese (Simplified), Portuguese, English, German, French, Spanish, Japanese, Arabic, Russian, Greek, Dutch, Bulgarian, Czech, Croatian, Danish, Finnish, Hindi, Polish, Romanian, Swedish, Norwegian, Catalan, Filipino, Hebrew, Indonesian, Latvian, Lithuanian, Serbian, Slovak, Slovenian, Ukrainian, Vietnamese,Albanian,Estonian,Galician,Maltese,Thai,Turkish,Hungarian."

  5. smallflightlessbird
    Member
    Posted 2 years ago #

    Thanks. I certainly understand that automatic translation would save time. But I'm just not interested in that.

    Does anyone have any advice about the original question? I.e., how can I display the same blog twice on one domain?

  6. smallflightlessbird
    Member
    Posted 2 years ago #

    Ok, I've figured it out. In case anyone ever finds this and wants to do the same thing:

    1. Create a Network of Sites using the info on this page. (If you read through it a couple times, you'll find it's not as terrifying or complicated as it looks, but it seems to be easier on a fresh WP install.) Also set up a second blog to copy the first one.

    2. Install and activate the WP Multisite Mirror plugin.

    3. Determine the BlogID of the original blog by going to Network Admin > All Sites. Hover over the link to the original blog; the URL should end with "ID=1" (or another number). That number is your BlogID.

    4. Go to the dashboard of the new blog, the one that is going to be a copy of the original.

    5. Click on "MMS Settings" under the plugin menu on the left.

    6. If you've chosen a difference prefix, change it in the first box. (If you don't know your prefix, it's probably just the default, wp_).

    7. Enter the BlogID of the original blog in the box.

    8. Click "Save Changes".

    Notes:

    • My original blog was at mydomain.com/wordpress. I wanted my copy-blog to be at mydomain.com/fr/wordpress, but WP only allowed me to make a new blog at mydomain.com/wordpress/whatever. I'll have to back up my files, re-install wordpress in the root folder, and possibly create two extra blogs to fit the structure I want. (Although there's probably an easier way to do all that.)
    • Some of this info might not apply if you want to use subdomains instead of subdirectories... Not sure.
  7. smallflightlessbird
    Member
    Posted 2 years ago #

    Update: so close... and yet, so far. I can't have the directory structure I'd like.

    If I create a network at mydomain.com/wordpress/, then I can only create another site at mydomain.com/wordpress/fr.

    If I create a network at mydomain.com/, but have the blog at mydomain.com/wordpress/, I can't create a network (WP won't allow this setting, for some reason).

    I can create one network at mydomain.com/wordpress/ and another at mydomain.com/fr/wordpress/ and then link them with the WP Multi Network plugin... but then the two blogs won't be using the same database, so I don't think the WP Multisite Mirror plugin will work.

    ...
    If you're still reading this... Please help...

  8. smallflightlessbird
    Member
    Posted 2 years ago #

    Another update for posterity: I found a post about this on another site. Looks like it's impossible to do without some complicated hacking, and I wasn't able to get it working on the most recent version of WP.

    WordPress Hacks: Nested Paths For WPMU Blogs

Topic Closed

This topic has been closed to new replies.

About this Topic