WordPress multisite: subdomain or subdirectory?

When enabling multisite in WordPress installation, there are many considerations to consider, such as whether users are allowed to create their own sites, themes and plug-ins available on the network, and registration settings. However, an irretrievable decision is whether to use subdomains or subdirectories in the network. It is best to avoid switching between subdomains and subdirectories because this is time-consuming and difficult. It is important to align correctly at the beginning. This post will help you achieve this by explaining the differences between WordPress multisite subdomain and subdirectory installations. In addition, you will look at several situations where multiple sites may be required and identify each better sub domain and sub directory. It also identifies scenarios that have not been selected. The
Here we go! Subdomain to subdirectory – what is the difference? WordPress subdomains and subdirectories are related to the URL structure used by each site in a multi site network. This is not where the server stores the site, but how WordPress generates the URL for the site. The demo site of my personal network uses a subdirectory structure. Mynetwork Suppose you have a network called com. If it is set to run in a child domain, the address of the site named myblog is myblog. Mynetwork Com. However, if it is set to run in a subdirectory, the URL of the blog is mynetwork. Com\/myblog. The
Subdirectory Amy network. During the period of com\/myblog\/about-me, there is a \
If multisite is enabled in new and existing WordPress installations, it is the user’s business to decide in the subdomain and subdirectory. However, if you have set up a site, you must force the use of child domains. Therefore, if the site is more than a month old, you will have no choice. This is because there may be a conflict between the subdirectory address of the site created on the new network and the content that has been added to the site. Mygreatsite Com to create a site with the URL mygreatsite. Imagine adding the com\/wordpress-is-awesome \
Therefore, subdomains should be used, and the new site that sings the praise of WordPress is WordPress is awesome. Mygreatsite Com. There are no conflicts now. Multisite
After activation, you can switch between subdomain and subdirectory installations. Personal network vs. public network I operate three multi site networks. Two of them are for client sites and one for individuals. One of them runs in a subdomain, allowing clients to create their own sites. Both run in subdirectories. One is to use domain redirection (which is faster to use), and the other is my personal website. The
The site created by the client uses the sub domain, and my site uses the sub directory for two reasons. First, the sub domain has a more professional sense of the services I provide to customers. Most of them use domain redirection to redirect to my IP address, but I know that otherwise they will have domain names that start with their own brand rather than my brand. Second, the subdirectory is used for sites with fewer problems because it is easier to work. Male edulogs uses subdomains because users can create their own sites. With subdirectories, you don’t have to worry about creating new domains through the hosting provider or allowing wildcard domains. The operation will be easier. For me, this also means that on the site of my personal network, there is a URL that mirrors the URL of the opposite number from the local copy of the network. Again, I’ll cover it in detail later. The
If all sites in the domain redirection network use the valuable domain mapping guide to redirect a unique domain to each site, whether the visitor uses a subdomain or a subdirectory. Because no one can see the \
As a WordPress multi site sub domain hosting challenge, some hosting providers make sub domain operations difficult. They can charge an extra fee to your account to set up a subdomain, or they can not grant cPanel access, or they can not allow the creation of wildcard subdomains. Wildcard subdomains do not set each subdomain separately, but *\/mynetwork. Create a subdomain named com. If you use a subdomain and provide users with site creation, you need a wildcard subdomain. The
To use a subdomain, you must be able to edit the subdomain on a cPanel or similar system. Therefore, to use a subdomain, first check whether the hosting provider allows it. Otherwise, you must use a subdirectory or switch to a better hosting provider (tip: wpmu dev hosting supports wildcard subdomains, and all advanced plug-ins are compatible with multisite). Networks stored in subdirectories most multi site networks are installed in the root directory of the site. That is, mygreatsite. If you use com to purchase a hosting plan, it will become the URL of the primary site on the network. The
However, if WordPress multisite is installed in a subdirectory, the subdomain is not available. Therefore, mygreatsite. If com already has a single site installation, and other WordPress installations are added to the subdirectory running multiple sites, the address is mygreatsite. Com\/mynetwork. In this case, you must use a subdirectory

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *