WordPress MU or Moveable Type… Multiblog set question
-
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.comThen 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…
- The topic ‘WordPress MU or Moveable Type… Multiblog set question’ is closed to new replies.