Magento WordPress Multisite Integration Adding a New Blog

« Back to Magento WordPress Multisite Integration

To add a new blog to your WordPress Network, login to the WordPress Admin and select My Sites > Network Admin > Sites and then click the Add New button.

The first field is the Site Address (URL) field however WordPress will only let you enter the end part of it. For now, enter any character string that is unique to the blog as we e will change this shortly to be the correct URL. For the site title, site language and Admin email, enter the appropriate values and then click Add Site. When the page reloads, select the Edit Site link.

Site Address (URL)

On this page we can now edit the full Site Address (URL) field. The correct value for this field depends on how your Magento multistore URLs are setup in Magento. Some multi-stores have a different URL for each store and some have the same URL for each store and use a query string parameter to change the current store.

Multi-store's Using Different URLs for each Store

If each store in your Magento website has it's own URL, enter that URL followed by /wp in the Site Address (URL) field. For example, if your second store's URL is https://www.mymagento.co.uk/, your Site Address (URL) field should be https://www.mymagento.co.uk/wp.

Next consider where the URL points to on your webserver. If the URL points to it's own directory and each Magento directory (app, skin etc) is symlinked, yo will also need to symlink the wp folder.

Multi-Store's Using the Same URL for each Store

If each store in Magento uses the same URL, your Site Address (URL) field does not need to be changed and should be your Magento base URL followed by a unique character string. This method uses the .htaccess rewrites to correctly route the URLs to WordPress for the WordPress Admin. If you are using Nginx, you will need to setup the correct Nginx rewrite rules for WordPress Multisite.

Linking to a Magento Store

To associate your new blog with a Magento store, login to the Magento Admin and go to the WordPress configuration section in the System configuration. Under the Multisite header, enter the blog ID for your new blog.

If you are unsure of the blog ID, go back to the WordPress Admin and select My Sites > Network Admin > Sites and click the Edit link under a site. When the page loads, check the URL and you should see the ID (eg. site-info.php?id=3). Enter this ID in the blog ID field.

If there are any errors, these will be displayed at the top of the configuration page. Work through each error until a success message is displayed. This will provide the frontend URL for your new blog.

Magento WordPress
Multisite Integration
Documentation Articles

Post your comment

FishPig Ltd