Recent Posts


« | Main | »

WordPress 3.0 – review & multi-site problems

By Dale Reagan | June 23, 2010

First!  Hat’s Off to the folks working the WordPress solution – using it has been a great experience with few problems.  🙂  I have several WordPress installs on multiple domains (happy consumer!) so my main interests in the new release includes:

Ok.  I install WordPress 3 into the folder:  /usr/share/wordpress.3 and I create an Apache configuration file: /etc/httpd/conf.d/wordpress.3.conf – I now have one location to make changes for any WordPress driven site running on the server.

Multi-site Concerns

The documentation (and orientation/target model) for WordPress-MU describes support for either:

  1. blogs using multi-sub-domains  OR
  2. blogs using multi-sub-folders

Neither of these is what I need.  I host multiple domains on single servers and instead of installing/updating multiple WordPress versions  I would prefer one master install supporting multiple domains.

NOTE – if you explore the Multi-site option use CARE with the location of changes in your wp-config.php file – the ‘wrong’ place will either NOT work or it may partially work, i.e.

you only see a ‘sites’ option (but no Super-admin option)

After finding a working location for the multi-site configuration data in the wp-config.php file (I placed the required entries after the database entries) I am able to create a new blog.  Since I am testing with virtual hosts the Apache configuration requires me to add a ServerAlias entry for each sub-blog that I create – I simplify by using a ‘ServerAlias *.somedomain.comwildcard within the <VirtualHost> container in my httpd.conf Apache configuration file [** note that this only works if you have the DNS for your domain configured to use wildcards…]

So if you get the Super-admin menu option working AND you want to serve content for multiple domains then the discussion link below may help:

If you follow the instructions from the preceding link (download and install the sunrise.php and domain_mapping.php files as directed as well as create the required new folders) then you now (hopefully) have a new Domain Mapping option.  It allows you to configure your server IP address as your ‘base’ (I  did not try the domain option since the IP is most likely what I need.)   Now you ‘connect’ sites with domains and all will be served from the same WordPress 3.0 install.  Whew!

My test WordPress 3.0 URLS/domains – simple differences – changed backgrounds, title, menus:

Once installed I made minor changes to each Site/Blog/Instance?  (There is some debate about what to call ‘these things’ – I think of them as WordPress Instances…)

What about testing on a non-Internet connected host?

On my local Linux systems this works well without using wildcards:

Sample /etc/hosts file entries (IP should be the same as your Linux system so should be changed on your system.) blog01 blog01.localdomain blog02 blog02.localdomain blog03 blog03.localdomain

Sample /etc/httpd/conf.d/wordpress.3.conf file

############## my Single WordPress install location
#<Directory /usr/share/wordpress.3>
#  AllowOverride Options
## Above is before enabling multi-site - below is after enabling multi-site
<Directory /usr/share/wordpress.3>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
 AllowOverride ALL

NOTE – the sample above may not WORK for YOUR system!  Review the WordPress Network setup documentation (or the link above.)

Side NOTE – a new set of database tables is created for each new Domain/Blog that you add to your multi-site.

Now off for some:

Topics: Business Blogging, Computer Technology, Problem Solving, System and Network Security, Web Problem Solving, Web Site Conversions, Web Technologies, Wordpress Software | Comments Off on WordPress 3.0 – review & multi-site problems

Comments are closed.

YOUR GeoIP Data | Ip:
Continent: NA | Country Code: US | Country Name: United States
Region: | State/Region Name: | City:
(US only) Area Code: 0 | Postal code/Zip:
Latitude: 38.000000 | Longitude: -97.000000
Note - if using a mobile device your physical location may NOT be accurate...

Georgia-USA.Com - Web Hosting for Business