Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 12-31-2020, 09:33 PM   #1
LQ Newbie
Registered: Mar 2020
Posts: 18

Rep: Reputation: Disabled
have a great new year - stay healthy and safe!

hello linux experts

hope youre all right and everything goes well in your home-town. Have a happy new year - and stay healthy.*

have a happy new year.*

ever wanted to work with WordPress multisite, but if so - you wanted to be able to use your own names. For example your main site is named*
If you want to add a new site to your multisite network it's gonna be called Suppose you want to be able to visit without example.*

good news: there is a way to achieve this?

first steps to achieve this:*

we have to configure the DNS Records (Nameservers) for the Custom Domain:

some steps to do so:*
a. *we need to make sure that our custom domain name points to our hosting server.
b. *for the setup of different domain and hosting accounts (recommendet), we to repeat the steps to set up the network’s main domain name (i.e. the primary domain on which we ve installed WordPress).

it is pretty important that we configure the custom domain’s DNS records manually.*
Note: There is no special single catch-all process, since the method will depend on which domain registrar hosting provider we are going to use.

here is a sample configuration for the wp-config.php file in the base directory of the WordPress installation:

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
define( 'DOMAIN_CURRENT_SITE', '' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
here's the basic configuration for the .htaccess file as a subdomain configuration, *in the base directory of the WordPress installation:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [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]
# BoF WordPress cf:

# EoF WordPress get TLD's to work properly, *we can do some additional configurations to the wp-config.php file like the following.,..

define( 'COOKIE_DOMAIN', '' );
define( 'ADMIN_COOKIE_PATH', '/' );
define( 'COOKIEPATH', '/' );
define( 'SITECOOKIEPATH', '/' );
cf: *

best practice:

- one Apache Virtual Host for the primary domain in the network and then*
- configure that virtual host with alias domains. Each alias domain being one of the additional sites in the network.

links for more infos:[/quote]
Old 01-01-2021, 12:58 AM   #2
Registered: Dec 2020
Location: as far S and E as I want to go in the U.S.
Distribution: Miyo, Puppy, Salix
Posts: 86

Rep: Reputation: Disabled
Happy New Year!
Old 01-02-2021, 07:12 AM   #3
Registered: Dec 2020
Posts: 45

Rep: Reputation: 18
Happy New Year to everybody!
I hope this year will not be a Covid year.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: PostgreSQL 10: a Great New Version for a Great Database LXer Syndicated Linux News 0 03-06-2018 02:54 PM
Great place, great people, and me feel great to be here rajshekarj Member Intro 2 10-22-2009 04:34 PM
stay safe in a Windows network milad126 Linux - Networking 3 08-17-2009 02:12 AM
LXer: Open source makes a healthy site for healthy eaters LXer Syndicated Linux News 0 02-29-2008 12:51 AM
How to stay safe when opening files from Lime Wire.. DAVE666 Linux - Newbie 3 01-21-2008 09:28 AM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration