Skip to main content
Share Your Experience: Take the 2024 Developer Survey
34 votes
Accepted

How to use Wordpress Multisite With Different Domain Names?

There seems to always be a bit on confusion on this topic. Perhaps WordPress could do a better job guiding it's users in this process. Although, I suppose Multi-site wasn't intended to be used for TLD'...
Michael Ecklund's user avatar
7 votes

How to use Wordpress Multisite With Different Domain Names?

WordPress now has a support article on this. Essentially the recommended steps are as outlined by David & Michael: Map the domain name in DNS to your server Make sure this domain is registered on ...
rxmd's user avatar
  • 71
7 votes

How to share cookies and sessions between domain and subdomain?

I'll skip steps related to sharing DB and sharing users data and meta, based on assumption that you've done it correctly. Let's concentrate on wp-config.php of both sites. These are defines that MUST ...
Frank P. Walentynowicz's user avatar
5 votes

How to use Wordpress Multisite With Different Domain Names?

It was made possible without using a plugin a few releases ago (can't remember the concrete release but the feature has been there for a while now). However, if you start from scratch, you should ...
David's user avatar
  • 3,275
5 votes
Accepted

Redirecting to old domain, tried everything, nothing works

As Sumit pointed out, the problem was in the old browser cache. The solution was to clear browser cache (or just add a query string after the address: http://my.new.domain/?random_string). Thank you.
jenda's user avatar
  • 161
5 votes
Accepted

Htaccess for Wordpess set on single subdomain

My suggestion is: use the same standard .htaccess configuration for Wordpress on a single domain in each Wordpress directory. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ...
Fayaz's user avatar
  • 8,917
5 votes

Can you run wordpress with multiple domains at the same time (not multisite)?

Just check this WordPress Plugin it should resolve this issue easy way.. https://wordpress.org/plugins/multiple-domain/
Ashraf Sello's user avatar
4 votes

How Can I Change The Name Of My Subdomain in Wordpress Multisite

In your admin dashboard, go to the my sites->network admin->sites, edit the site and change the subdomain URL, there. No need to touch any files.
C C's user avatar
  • 1,948
3 votes

How to limit user registration to a specific set of domains?

You can do it easily by writing a code inside your theme's functions.php file. here is the code: function is_valid_email_domain($login, $email, $errors ){ $valid_email_domains = array("gmail.com"...
Faruque Ahamed Mollick's user avatar
3 votes
Accepted

Website redirecting to old domain name

There are a few variables that need to be changed in order for you to update to the new link on your WordPress site. As mentioned by Mark, try the following steps using the Search Replace DB tool: ...
Ethan O'Sullivan's user avatar
3 votes

Website redirecting to old domain name

@maximus: It's not a good idea to run raw SQL queries on the database via phpmyadmin; direct queries will will break serialized data in the database, i.e. break widget data, theme options, etc. Use ...
markratledge's user avatar
  • 8,735
3 votes

Inherited website changing CSS/JS path

I would first remove any plugins that are not needed, or any that haven't been updated for a while. Then I would install all updates (themes and plugins) and reinstall WP (all from the Admin, Update ...
Rick Hellewell's user avatar
3 votes
Accepted

WP Multisite - domain mapping to domain.com and separate site to domain.com/help

Yes, this is possible (see https://wordpress.org/support/article/create-a-network/). For sub-domains you'll need to confirm that your DNS has a wildcard entry for your domain. So, based on your root ...
deronimo's user avatar
  • 166
3 votes

Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation

The simplest way to create identical websites on different domains is to use the plugin Multiple Domain. This allows you to have a single WP install with one database serving two domains. Next step is ...
KAGG Design's user avatar
  • 1,842
3 votes
Accepted

How do I use different domain for subdomains in WP Multisite?

Let's establish the baseline: it is possible to have the main site in example-domain-x.com and all subsites subdomains in example-domain-y.com. You just add subdomain1.example-domain-y.com (or ...
Celso Bessa's user avatar
  • 1,118
2 votes
Accepted

Multiple Multisite networks on the same domain?

You can not run different networks or different Multisite installations under one domain in the default possibilities of WP. But you can use one Multiste with multiple networks with the help of a ...
bueltge's user avatar
  • 17.1k
2 votes
Accepted

How do I make my particular WordPress public?

Let's assume you've installed WordPress as described here, directly in a folders named 816 under your xampp/htdocs/, and this, without any alterations (modifying settings or any configurations to ...
nyedidikeke's user avatar
2 votes
Accepted

looking for a hosting company for wordpress

WordPress is extremely lenient to the hosting requirements. It is likely one of the most forgiving CMSes to run on the least capable PHP hosts. That said there are advantages to some of hosts that ...
Rarst's user avatar
  • 99.7k
2 votes
Accepted

Change old URLs after the domain change

Two possible easy ways to replace Old website URL to New Website URL: 1/ Directly replace in SQL file: Export the database and open SQL file. Manually find and replace old website URL with new ...
dhirenpatel22's user avatar
2 votes

Special domain for a page

There is a plugin that does exactly this: https://wordpress.org/plugins/multiple-domain-mapping-on-single-site Anyway, it would be nicer to have things under control with an understandable few lines ...
Fanky's user avatar
  • 317
2 votes

How to retrieve TLD domain for the current website?

The $_SERVER['HTTP_HOST'] global will usually contain the domain/subdomain to which the current request was sent, but with a few caveats. In the context of a web request, the variable is set at the ...
bosco's user avatar
  • 6,815
1 vote

Multiple domains showing same content

There are several problems in your logic, as Wordpress won't know which domain is going to handle actions. Even if you use a symlink from the other domain to point to .com domain, or even if you use ...
appartisan's user avatar
1 vote
Accepted

Changing permalink structure and domain

on your old domain add this following rule at the top of .htaccess RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(.*)$ http://newdomain.com/$3 plase let me know if its work or not.
rheeantz's user avatar
  • 181
1 vote

Multiple Multisite networks on the same domain?

You can install a new wordpress in a sub folder, let's call it "www2", so you'll have this URL : http://www2.companysite.com/ Then you configure your NEW network so you can have this structure : ...
Sami's user avatar
  • 174
1 vote
Accepted

Installation problems on a domain-name-less server

Set server_name to the IP address, eg: server { listen 80; server_name 0.1.2.3; // other stuff } You could also leave it out, because the default in ngninx is an empty string. But then ...
fuxia's user avatar
  • 107k
1 vote
Accepted

how to get my WP site's IP?

This is more a general hosting question, rather than WordPress. Nonetheless, since you mentioned that you have your website on WordPress.com, you can have your new domain point to your WordPress site ...
Ethan O'Sullivan's user avatar
1 vote

Multisite Subdomain Using More Resources Than Others?

In my experience... I would keep using Multisite for your setup for organizational purposes and ease of management. Here's a list of things you could try before emptying out the pockets: Consider ...
Michael Ecklund's user avatar
1 vote
Accepted

How do I convert my WordPress website to be domain agnostic?

Normally you never have to use your domain in your php code for plugins / themes. There are many functions like get_home_url() which automatically fetches the domain from configuration and is also ...
JHoffmann's user avatar
  • 1,850
1 vote

Moving WordPress from Root to a subfolder

to move a WordPress site from root to sub folder you first need to copy all the files and folder of WordPress from root folder and then paste it inside sub folder. After doing this you need to change ...
Faruque Ahamed Mollick's user avatar
1 vote

Moving WordPress from Root to a subfolder

Generally when moving a WordPress site I copy the files to the new path then update the URL in the Dashboad. After logging into the 'new' install and making sure everything looks good I remove the ...
DanTheManDRH's user avatar

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