Day 14: Exploring WordPress with Multi-site

Roles In WordPress

Roles in WordPress are used to give power to certain users. There are in total six roles available by default in WordPress. List in order from the least to most capability.

  1. Subscriber:
    • Can manage their own profile.
    • Can leave comments on posts.
    • Limited access to site settings and configurations.
  2. Contributor:
    • Can write and edit their own posts but cannot publish them.
    • Can submit posts for review by an Editor or Administrator.
    • Can manage comments on their own posts.
    • Limited access to site settings and configurations.
  3. Author:
    • Can publish, edit, and delete their own posts.
    • Can upload media files.
    • Can moderate and manage comments on their own posts.
    • Limited access to site settings and configurations.
  4. Editor:
    • Can publish, edit, and delete any post or page.
    • Can manage categories, tags, and comments.
    • Moderate comments on all posts.
    • Limited access to site settings and configurations.
  5. Administrator:
    • Full control over the site.
    • Can manage users, plugins, themes, and settings.
    • Access to all site configurations.
  6. Super Admin:
    • In a multisite network, the Super Admin has complete control over the entire network.
    • Can manage network-wide settings, sites, and users.
    • This role is specific to WordPress multisite installations.

Permalinks

The default permalink structure in WordPress uses the “Plain” setting. It typically results in URLs that include the post or page ID and are not as user-friendly or SEO-friendly as other permalink structures. The format looks like this:

http://demo.tdl/?p=123

Other permalink structures are:

  1. Plain: http://url.tdl/?p=123
  2. Day and Name: http://url.tdl/2024/02/15/sample-post/
  3. Month and Name: http://url.tdl/2024/02/sample-post/
  4. Numeric: http://url.tdl/archives/123
  5. Post Name: http://url.tdl/sample-post/
  6. Custom Structure: http://url.tdl/%category%/%postname%/

WordPress Multisite

WordPress Multisite is a feature that allows you to run multiple WordPress websites from a single installation. It enables you to manage and administer a network of interconnected sites more efficiently.

To enable Multisite, you need to add a line to your wp-config.php file and configure your WordPress installation. This is typically done during the initial setup, and it involves defining WP_ALLOW_MULTISITE and configuring the network settings.

Once Multisite is enabled, you can access the Network Setup screen from the WordPress dashboard. This is where you configure the network settings, such as choosing between subdomains or subdirectories for site URLs.

With Multisite, you can create and manage multiple individual websites within the network. Each site has its own content, settings, and users.

Plugins and themes can be activated network-wide or on individual sites. Super Admins can control which themes and plugins are available for activation on the network level.

Users can have different roles on different sites within the network. A user registered on one site can use the same credentials to log in to other sites in the network.

While each site in the network can have its own content, Multisite allows for content sharing between sites. Super Admins can enable or disable content-sharing options.

Installation on LocalWP

Setup the website that you would normally do. In the “set up WordPress” section click on the “Advance Option” and select Yes for the Multisite.

choose either the Subdirectory or Subdomain according to your liking. Click on add site and it will set it up on your local development environment.

Leave a Reply

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