Hot answers tagged domain-mapping
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.
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?
...
5
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 ...
5
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.
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
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
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
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
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
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 ...
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
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 ...
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 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
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
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 ...
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
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 ...
1
Site Address (URL)
Enter the address you want people to type in their
browser to reach your WordPress site. This is the directory where
WordPress's main index.php file is installed. The Site address (URL)
is identical to the WordPress address (URL) (above) unless you are
giving WordPress its own directory. WordPress will trim a slash (/)
from ...
1
Can you update your .htaccess file manually, Copy the settings from from Network Setup and then open your .htaccess file in your editor and copy&paste. You have to enable to see invincible files on your computer, it should be something like this:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ...
1
i don't know if it is the best method, but something i just did recently (having picked it up from an answer here) was to remove the menu page if certain conditions aren't met and also to update the caps on all the removed pages so that they can't be accessed by someone slick enough to remember the URLs.
add_action('admin_menu', 'wpa_44698',999);
function ...
1
This is possible, and it actually should be very easy for you to do.
There are lots of ways that you could have this setup, depending on if your server is using cPanel, Plesk, etc. At its most basic, right now, your Apache virtual host points to your main web directory, maybe something like /var/www/, and you have your htaccess file routing the domain to a ...
1
If your domain name just redirects to wordpress.com, then there is nothing you can do. When the user is viewing one of your posts, they are viewing it on wordpress.com, so that is the link that is shared. This is a compromise you accepted when you set up your blog the way you did.
If you want to change it, you can either:
Host the blog yourself instead of ...
1
Either try placing an index.php file inside your subdomain folder with the following code:
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Status: 301 Moved Permanently");
header("Location: http://www.my-domain.com/my-permalink/");
?>
or use cPanel to setup/redirect the subdomain to any address you want.
1
You need to change your url for two places one is for "WordPress address (URL)" and for "Site address (URL)"
As you are unable to login to admin panel there is one option you can change it by modifying your database table in phpmyadmin. You might also need to udate Upload URL as well.
Easiest way to search tables is search your defined URL (e.g xyz.com) ...
1
Did you check out WordPress' Multisite feature? Simply put, it allows you to create a network of sites under different sub-directories, sub-domains, or domains. As with your case, each site in the network can work like a category.
1
not sure if this is a problem for you still or not, but if so I noticed a few issues. First off, your domain wasn't set to be case-insensitive [NC]. Second, your RewriteRule regex has a character class ending with a dash. This needs to start with a dash. Third, your rule sends the request to index.php, which means index.php needs to know how to handle the ...
1
You may be able to use WordPress MU Domain Mapping Plugin:
http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
But, isn't this a bad idea from a search engine perspective? Multiple domains each with the same content?
Only top voted, non community-wiki answers of a minimum length are eligible