Tag Info

Hot answers tagged

9

Appart of the default ports and correctly configuring WPMS... In the Advanced Tab: And manually add the subdomains in /etc/hosts1 file: # BRASOFILO MULTISITE START 127.0.0.1 test1.brasofilo.dev 127.0.0.1 test2.brasofilo.dev 127.0.0.1 cloned.brasofilo.dev # BRASOFILO MULTISITE STOP 1 The folder etc is at the root of your HD and it's hidden. You can ...


8

Hi @centr0: "MultiSite" and "Create a Network" are the same thing in WordPress 3.x. Follow the steps found in Create a Network in a new subdirectory and this tutorial by Otto should show you have to map domains using the WordPress MU Domain Mapping plugin ("MU" is the legacy description of Multisite, just ignore that confusion.) It will be much easier ...


6

It's not really all that hard. setup the new blog on the MU install import the content from the old blog check content and permalinks to make sure it's all there map the domain have a beer I've done it a number of times and never really had issues.


6

A couple extra handy links if you want everything in the db and have loads of images (there's some gotchas). Importing a single WP blog to a WPMu Installation Migrating single WordPress installations into multisite networks Otherwise, it's just like Curtis says. Export / Import.


5

Yes, this is possible and a number of news and media agencies work with similar approaches in WordPress. What's your Editorial Process? The most important step is understanding your editorial process and how much control you need to have of content before it goes live. - for example, consider these 3 points: 1. Do you need 3rd party approvals for images? ...


4

For the record MU functionality was merged into core and is now referred to as multisite. Codex has guide at Migrating Multiple Blogs into WordPress 3.0 Multisite


4

I am using multisite with domain mapping. I chose the CNAME option for pointing the mapped domain name. My site is installed as a sub directory. http:// homesite.org/seedlivelihood Files are served like so: https:// homesite.org/seedlivelihood/wp-content/plugins/woocommerce/assets/css/fancybox.min.css?ver=3.2.1 With domain mapping the site is at: ...


3

On WordPress.com we have domain mapping and we have SSL but the two don't mix because we don't manage certs for mapped domains (AFAIK). We use SSL for wp-admin but not for blogs. Example: http://andyskelton.com/ https://andyskelton.wordpress.com/wp-admin/ The SSL cert is for *.wordpress.com. If you try to visit the mapped domain over SSL you should get a ...


3

Hi @aj martin: Here's two different solutions (editing the specifics for your use case): Doing a Redirect: 1.) At the top of your /wp-config.php file add the following: if ( is_yoursite_blogger_domain( $_SERVER['SERVER_NAME'] ) ) { $domain = str_replace( 'www.', '', $_SERVER['SERVER_NAME'] ); define( 'WP_SITEURL', 'http://' . $domain ); define( ...


3

Basically, it turns out you need two dedicated IP addresses, or a third vhost. IP Address You could use two IP addresses and do something like this in your apache configuration: #IP address for WP NameVirtualHost 12.34.56.78:80 #For everything else NameVirtualHost *:80 Then, make sure the VirtualHost for WordPress is declared thus: <VirtualHost ...


3

Install multi-site as subdomain setup. Do not use the sub-sites option. Go to Network Admin/Sites and select the site whose URL you want to change: Change the URL to the new domain. In your wp-config.php use define( 'COOKIE_DOMAIN', '' ); to be able to log in in both sites. You don't need a plugin for that.


3

try blogging by email have your analytics and stats on google analytics or outside source have comments emailed to you that will leave very few things to be done thru administration to bypass security system try VPN or use of proxy


3

If you don't want to redirect your users from example.com to example.wordpress.com, but really want example.com to be new domain name for your WordPress.com blog, you can buy Domain Mapping for $12 per year if you already have your own domain.


3

this is not a full answer but probably of use to gain more information about your problem. I guess it's related to cookies but that is really a guess only. To find out more I suggest a combination of two tools: One Firefox and a wordpress Add-On. No Redirect Toolpress Strict Edition (Firefox Add-On) On Toolpress in the tools folder, you can find a Firefox ...


3

Multisite cannot be installed in a subdirectory of the document root currently. This will be possible in 3.5. See Multisite on Windows with wildcard subdomains for a guide how to manage subdomains automatically on Windows with XAMPP. You can move the plugin directory to another directory per wp-config.php. This is possible for themes too, but automatic ...


3

A simple constant WP_SITEURL could do the trick. I did worked on something similar to it. The difference is all of the domains were hosted on the same server and pointed to the root directory. The procedure i tried - Checked the host using $_SERVER['HTTP_HOST'] and Validated if it exist on the database. Comparing your needs, you could check this ...


2

If you set domain.com as an alias of original.com, in WordPress you have to do nothing to make it works. The problem is the countrary: once in DNS the 2 domains are aliases, every url of your WordPress will be accessible via user defined domains: domain.com/any/wp/url, but also domain2.com/any/wp/url, domain3.com/any/wp/url and so on... So, what you have ...


2

You could hook intop pre_comment_on_post: add_action( 'pre_comment_on_post', function(){ if ( empty ( $_SERVER['HTTP_REFERER'] ) ) exit; }); But … be aware, not all requests without an referer are actually spam posts. Some firewalls and proxies strip this field. And most automated spam comes with a Referer field filled with the name of the ...


2

This really has nothing to do with the theme customizer. From the Codex on moving WordPress : Existing image/media links uploaded media will refer to the old folder and must be updated with the new location. You can do this with the Velvet Blues Update URLs plugin, or with a search and replace tool, or manually in your SQL database. The values in ...


2

If you are using MAMP Pro you can simply just add another completely new host using your sub-domain and then just route it to the same place as your top domain. You won't have to add any virtual hosts in your original domain, or have to stuff around with your hosts file.


2

I am not entirely sure that it would work with sub-sub-domains. :) Most of your requirements (IIS aside) seem very manageable: consistent design would be easy to achieve with shared theme (or several child themes if required); users can be easily assigned to multiple sites, using single login and account (through editing site in Network Admin).


2

This should be doable. First step would be pointing each domain to the same document root/install of WordPress. Next up, use WP_HOME and WP_SITEURL in wp-config.php that change based on $_SERVER['HTTP_HOST']. Example: <?php define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']); define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp'); That ...


2

Use the plugin WordPress MU Domain Mapping. Read the installation instructions very carefully. There is also an ebook WordPress Multisite 101 where you can read more (like migration from single site installation etc.). You can activate themes per single site as usual. Or set the constant WP_DEFAULT_THEME in your wp-config.php depending on the host name: ...


2

Install WordPress MU Domain MappingPlugin, and edit the wp_domain_mapping database table. Insert a new row for blog_id #1 manually, for example: +------+-----------+----------------------+----------+ | id | blog_id | domain | active | +------+-----------+----------------------+----------+ | 5 | 1 | secure.primary.com | ...


2

You can use a predefined constants that points to site URL. (from Codex) define('WP_SITEURL', 'http://example.com/wordpress'); define('WP_HOME', 'http://example.com/wordpress'); Small example define('WP_SITEURL', 'http://'.$_SERVER['HTTP_HOST']); define('WP_HOME', 'http://'.$_SERVER['HTTP_HOST']);


2

Make sure your webhost gives you the ability to use WildCard DNS. I know some hosts such as Dreamhost don't allow it on their shared hosting plans.


2

The proper way is after pointing the new domain to your hosting account to change the URL references in the Database. So, besides the siteurl & home options you shouldn't forget upload path at the same table and a complete search & replace for local links and media URLs inside post contents. There are many ways to do this according to the Codex. ...


2

What I basically did was the following: Used Domain Mapping plugin in wp-config.php - Changed DOMAIN_CURRENT_SITE and NOBLOGREDIRECT to $_SERVER['HTTP_HOST'] as per what @toscho suggested in wp-config.php - Added: define('DOMAINMAPPING_ALLOWMULTI', 'yes'); // Allow sites to have multiple domains define('SUNRISE', 'on'); // Domain mapping plugin ...


2

Don't worry about changing the guid, you'll be fine if you never update that field. The main places you'll need to update are in the post_content column of wp_posts (for links and images), and in the wp_options table (for widget data). Before you do any database replacing, though, read through this thread: Easily Move a WordPress Install from Development ...


2

This is not the exact answer but maybe you will find it handy: Change the Primary Domain for a WordPress Multi-Site Network How to map domains to sites within WordPress multisite



Only top voted, non community-wiki answers of a minimum length are eligible