• Hello,

    I have been using MT for years due to it’s multi-blog adminstration.
    For a new project I would like to use WordPress but I can’t get it configured correctly.

    What I am trying to set up:
    https://www.mysite.com already exists and has 5 languages… https://www.mysite.com/en/, https://www.mysite.com/fr/ ect.

    I would like a blog in each language (same template) /en/blog/, /fr/blog/

    Now the hard part is getting WP to do this.

    1) I can’t install WP in the root as that is where the current site is.
    2) I’ve tried installing in a folder /blog/ and then creating /blog/en/ and /blog/fr/
    3) Then I change the “Path” to /en/blog/ and /fr/blog/ from the initial /blog/en/ and /blog/fr/
    4) Then I modify the virtual hosts mod_rewrite with
    RewriteRule ^/([a-z0-9]{1,})/blog/(.*) – [E=request_uri:/blog/$1/$2]
    RewriteRule ^/([a-z0-9]{1,})/blog/(.*) /blog/$1/$2 [NC]
    5) Hacked teh ms-settings because of the bug where thh path is determined via REQUEST_URI instead of REDIRECT_SCRIPT_URL
    6) Hacked the ms-default-constants line 38 added $path to global and then changed define( ‘COOKIEPATH’, $path ); and define( ‘SITECOOKIEPATH’, $path );
    7) in wp.config I added: define( ‘COOKIE_DOMAIN’, ‘mysite.com’ );
    PRESTO!!! It works!!!

    So the next problem is I have another couple of sites that I want to add blogs to like https://www.site2.com/blog and https://www.site3.com/blog….I’d like to be able to manage everything together but I’m not sure what to do there…

    I’ve seen that others are posting about Mapping to subdomains… I think if you install in blogs.mysite.com then create Alias commands in the httpd.conf in the section for each virtual host file you can map to folders:
    Alias /blog /home/htdocs/mysite.com/subdomains/blogs.mysite.com

    Then you will need to hack / tweek to make sure that the domain gets sent correctly and that the DataBase has a new domain… the Mapping Plugin should be able to accommodate this.

    (I’m going to try this option next week)

    With MT all you have to due is publish to a specific folder, install the rewrite correctly… noting else…

Viewing 13 replies - 1 through 13 (of 13 total)
  • right, but in WordPress the folders are *virtual*. You create those Alias commands all to the folder where wordpress is installed, and it figures out the rest.

    Note you have to map full domains, like site.com. You cannot map site2.com/blog/. you’ll have to have a /blog page after you map it.

    (you wouldn’t even be able to do that with MT.)

    Thread Starter BpPst

    (@bppst)

    Hi,
    This is exactly WP’s problem. Moveable type can go phyiscal, semi-physical or drupal.
    So you can do whatever your heart desires with little server overhead and almost no hacking.
    WP is great in someways but limiting blog directories to be /blog/1, blog/2 and not allowing 1/blog is not exactly good. The lack of ability to publish anywhere on the same physical server is also a set back. There should be no problem from site1.com and being able to publish to site2.com/blog. I’ve been doing this for years with MT.

    I’ll continúe my evaluation until the end of next week. I have 4 sites with sitex.com/blog and one site with 5 languages like I explained earlier. I’ve solved the first problem but the second poses a bit more formidable.

    Another great feature of MT is the graphs of posts and statistics of entries so has a manager I can see what my writers aré doing.

    WP was designed for single usage. MT has always been a multi-blog multi-user platform.

    I am always open to new technology that is why I’m evaluating WP.
    But if I didn’t have an IT background, the evaluation wouldn’t be going so well.

    The multisite feature is just like setting up your own personal version of wordpress.COM.

    makes way more sense when you think of it that way.

    Thread Starter BpPst

    (@bppst)

    Hi Andrea,

    I do understand the idea behind the programing. I have spent the last few days reading the source code and the relation between the blog and site tables. The programming looks to me like an adaptation not a core feature. That is why many people are running into quite a few limitations.

    MovableType was designed for mult-user, mult-site, multi-domain… basically what ever you can imagine together with very powerfull statistics about the users use, publishing. It is very easy to switch between blogs and manage users and the blogging network.

    WordPress was designed for a single blog, single or multiple users environemnt with FAST publication and EASY plugin support. WordPress development and design is more economical and easy to deploy.

    There are always pros and cons….

    PS: YES! It is possible to map to folders.I’ve done on a WAMP setup but I needed to modify the httpd.conf file (.htaccess is to limited) and also I did have to modify a few lines in ms-settings.php, sunrise.php and ms-load.php

    My current development server has:
    blogadmin.com => Blog install
    site1.com/blog => Blog One
    site2.com/blog => Blog Two
    site3.com/en/blog => Blog Three English
    site3.com/es/blog => Blog Three Spanish

    PS: YES! It is possible to map to folders.

    Oh please elucidate us then, as we have a few people ’round these here parts who wants to map a domain to a blog on the system, and include a folder name.

    So site2.com may live somewhere ese, but site2.com/blog/ lives in the wordpress install.

    (that’s the situation I meant when I said you can’t domain map folders. )

    Thread Starter BpPst

    (@bppst)

    So site2.com may live somewhere ese, but site2.com/blog/ lives in the wordpress install. But all on the same server ??

    Exactly… it requires understanding of PHP and direct access to the httpd.conf…

    If you can’t work with these files there isn’t much hope. (I can see all the “Help Please” posts).

    Also at the moment I have it in development. Once I do a new install and repeat the steps I can post it here.

    There is a limitation:
    if you have site3.com/es/blog/ and site3.com/fr/blog/ as the folder change is not blog/es and blog/fr you must edit the httpd.conf file everytime you add /[new lang]/blog

    This is due to how Apache use Alias and AliasMatch

    I’m familiar with mucking around in the httpd.conf files myself. ?? So if it’s super duper sys admin level, I wouldn’t be recommending it, but I *would* like an understanding of it to be able to fully explain it to others (and why they shouldn’t bother).

    There is a limitation:
    if you have site3.com/es/blog/ and site3.com/fr/blog/ as the folder change is not blog/es and blog/fr you must edit the httpd.conf file everytime you add /[new lang]/blog

    But the folders in the network are virtual. How are you handling that?

    site3.com/en/blog

    I could have sworn that we were just going into the database and editing the path manually after blog creation. Granted there’s no way to do it out of the box but that was the workaround.

    Had one install doing that. They’re no longer with us so I can;t check.

    An aside to Andrea: Can we please add in the Out of Memory instructions to the MS sticky? They were included in the old instructions but I don’t see anything “official” for the current instructions.

    @tdjbe not even sure if it’s multisite specific anymore as people have had to bump that to upgrade a single site.

    Thread Starter BpPst

    (@bppst)

    But the folders in the network are virtual. How are you handling that?

    It is a combination of Alias and ENV variables… Tomorrow I will run through a fresh install in order to be able to reproduce it all.
    I’ll document the steps and post them in a couple of days.

    I could have sworn that we were just going into the database and editing the path manually after blog creation. Granted there’s no way to do it out of the box but that was the workaround

    With MU there is no need to go to the database as the domain field is in the MU settings page.

    Thread Starter BpPst

    (@bppst)

    Ok! I’ve done a new install and documented all the steps… and it is quite long.

    Should I post here or a new thread called
    “How to Map a Domain with subdirectory to a Multi-site blog”?

    New thread please. ??

    Thread Starter BpPst

    (@bppst)

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WordPress MU or Moveable Type… Multiblog set question’ is closed to new replies.