Thursday, October 29, 2020

ServerPress DesktopServer WordPress Multisite

Getting Started with WordPress Multisite

ServerPress DesktopServer WordPress Multisite

https://docs.serverpress.com/article/82-getting-started-with-wordpress-multisite


Have you ever thought about trying out WordPress Multisite? Are you curious as to what all the chatter is about, or perhaps you’d just like to see what plugins are multisite compatible? Starting with DesktopServer 3.2.2 for premium members, you can develop your WordPress Multisite domain solution without having to sign up with a hosting provider, pay extra for multi-domain or subdomain hosting during development, configure a DNS for wildcards or specific third level domains (aka subdomains), then wait for propagation, then… well, you get the idea. Instead, I’ll show you how you can get started on development right away with just a few clicks.

In this article

Introducing WordPress Multisite

DesktopServer allows you to create a WordPress Multisite installation and add as many pseudo domains or subdomains as you want so you can get to developing right away. But first, what is WordPress Multisite?

In a nutshell, WordPress Multisite enables multiple WordPress websites to be powered off a single install. WordPress.com is an example of a very large multisite installation. Small or large, the real power is about the possibilities and the avenues that open up for developers to create larger websites, enterprise level solutions, or just for logically organizing a website’s content and dividing tasks.

Why choose WordPress Multisite?

  • Update once as all updates to plugins, core, and themes are centralized
  • User consolidation: Users can be members of one, many or all sites
  • Divide admin authority: Admins for one, many, or all sites
  • Simplify maintenance: Essentially you backup one site

What are some examples of “enterprise” solutions?

Create a company website and separate sub sites for support, or divisions:

Have personalized sites for education districts, or organizations that share a common parent:

As you can see, WordPress Multisite is a great solution for enterprise development (or the art of breaking down “business practice areas” into domains or subdomains). You can make each subdomain use the same theme to enforce standards and unity; such as a car dealership affiliate or franchise business owner. A child theme could allow for customizations to be applied to a single owner. In contrast, you could have a totally different theme for a subdomain; like WordPress’ beautiful P2 theme for realtime support or a live classroom discussion below a streaming video of a classes’ lecture. With WordPress Multisite, the possibilities are endless.

Get Started

You can create and test WordPress Multisite with sub directories but this article tackles the more polished, professional looking subdomain option. To get started with WordPress Multisite, fireup DesktopServer and create a site with no third-level (subdomain), i.e. do not put a ‘www’ in front of the domain name. Also, check on the “Allow Multisite Network” checkbox. Click the thumbnail at the right for an example view.

The “Allow Multisite Network” will automatically add the WP_ALLOW_MULTISITE constant to our wp-config.php file. You can do this manually to convert an existing site to multisite by just dropping in the code, as seen here on line 83, just above the “That’s all” comment.

/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define( 'FS_METHOD', 'direct' );
define('WP_DEBUG', false);
define('WP_ALLOW_MULTISITE', true);
/* That's all, stop editing! Happy blogging. */

Once the site is created or you have manually inserted the allow multisite option, you will have access to the “Network Setup” menu option under the Tools menu in WordPress’ admin pages. Select it and you can then choose the default “Sub-domains” and then click the “Install” button. From there, you will be greeted with two more text boxes. We’re only concerned with the first one for our development site. The contents of which, need to be appended to our wp-config.php file located in the root of our website files. Open the wp-config.php file and add the contents of the first text area, per the instructions, just above the “That’s all” line. It should now read something like this (for a domain company.dev):us leo.

/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define( 'FS_METHOD', 'direct' );
define('WP_DEBUG', false);
define('WP_ALLOW_MULTISITE', true);
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'company.dev' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
/* That's all, stop editing! Happy blogging. */

In our initial tests, we didn’t need to update our .htaccess file. But if you have custom permalinks, this is a requirement. Care should be taken to create the .htaccess as a pure text file. To do this, use Notepad on Windows or Text Wrangler on Mac (recommended, free). Special care should be taken if you use Mac’s Text Edit. Since .htaccess is a hidden file on Mac (all files beginning with a period are), use Shift + Command + . (period) to toggle seeing hidden files when using Text Edit’s Open or Save windows. Also, Mac users should be sure to use Text Edit’s Format ? Make Plain Text pull down menu option to ensure you are saving a valid .htaccess file as plain text. Notepad users on Windows should use the “Save as type” option to avoid putting a .txt extension on the .htaccess filename.

After updating your wp-config.php file and optionally your .htaccess, your login session will be reset and you’ll have to log back into the administrator pages. Upon login, you should immediately notice that you are multisite ready. You can tell by the layout of the left hand sidebar menu in the administrator pages. The key to understanding WordPress Multisite is knowing which admin menu mode you are in. 1) Network Admin or 2) Site Admin. You can toggle between these two states via the drop down menu in the upper right hand corner where you find the “Howdy, …” admin user name (see figure below).

Network Admin is where you will find the centralized management of plugins, themes, and users as it applies to all your sites. In addition, there is the Sites menu group at the very top of the left hand administration menu. This is where you can create additional sites. The Site Admin option is for management of the individual site. Remember, you already have one main site at the second level domain (i.e. company.dev, w/out the ‘www’). Next we’re going to create our first subdomain (aka third-level domain).

Create Subdomains

You might see a warning message in admin pages with regards to “wildcard domains” not being setup, you can safely ignore this. On a real web server, you’d configure your DNS to take a wildcard, or any subdomain name automatically. This allows for faster creation of any third-level domain name (i.e. tom.example.com, jane.example.com, etc.). But for testing and security purposes, DesktopServer will only allow predefined subdomains; subdomains that we have already told the server are OK to exist. Go back to DesktopServer and create a subdomain by selecting the “Create or edit multisite aliases” option and click “Next” to continue.

DesktopServer will present you with a drop down combo box containing a list of WordPress websites that you have created prior. Select your newly created multisite enabled website (in our example to the left, company.dev). A list of mapped domain names will appear (empty for the first time) and you can add or remove new domain names using the obvious “Add” and “Remove” buttons below the list box. Click “Add” to create your first subdomain. A dialog box will appear with a textbox for you to enter a domain name. Not just a subdomain, but any domain name along our pseudo top-level domain .dev (dot D-E-V).

When you use WordPress Multisite, you are not limited to just subdomains. WordPress.com users will note that when they sign up for a free WordPress.com website, they get their own subdomain username.wordpress.com. For an extra fee at wordpress.com, users can map their own full domain name rather than use a third level domain that ends with wordpress.com. Your self-hosted WordPress installation can also do full domain name mapping with the official Automattic WordPress MU Domain Mapping plugin and you can test it out with DesktopServer just as well. But for now, we are going to stick with a subdomain. Be sure to type in your subdomain name followed by a period and the existing domain name of the actual WordPress Multisite website you created (the .dev will be appended for you). So if we wanted to create a “chicago” subdomain for our existing company.dev website, we would type in chicago.company in the given textbox (as seen in the illustration above). Click “OK”, followed by “Next”. In a few seconds DesktopServer will make the adjustments needed and restart your web server. At this point, if you attempt to visit your subdomain website without it actually being added in WordPress Multisite first, you will fall back to the main site (i.e. company.dev). You may also see a message indicating “Registration has been disabled” when using the default registration settings.

Add a Website

To add a website, we need to go back to the Network Admin screen in WordPress. From there, click the “Sites” menu at the top followed by “Add New”. If you see the “Posts” menu item vs “Sites”, then you are not in Network Admin, but rather Site Admin. Switch by clicking the drop down menu in the upper right hand corner of where it typically says “Howdy, admin” (see the second illustration). You should be presented with a series of text boxes to add a new site. Enter the subdomain name portion only, (i.e. chicago), followed by the site’s title and the admin email. WordPress Multisite allows you to assign a different administrator to manage the site. While your master “Super Admin” credentials will allow you to have full reign over your WordPress Multisite, the admin email you provide here will allow that given user the ability to control aspects of only the subdomain site (moderate, manage users, activate available themes -if any are available, etc.). After clicking “Add Site”, you should be able to visit your newly created subdomain featuring it’s own independent theme, content, and users.

In a typical installation, users that register with the subdomain are only members of that subdomain site. They would have to be manually added by the given site administrator to each subdomain site or re-register (ask to join) each subdomain they wish to become members of. However, you can also have a user automatically join every site that is apart of a multisite network with a nifty Multisite User Management plugin. The plugin allows a new user to automatically join all sites. For instance, if you were creating a parent website where a customer can feel at home, no matter which branch or subdomain they visit, this is the plugin for you.

Conclusion

Now that you’ve created your first WordPress Multisite and your subdomain, you are ready to build out your project, test out features, or examine the multitude of available plugins. Best of all, DesktopServer can create as many multisite websites and subdomains as you want. Keep them for reference, or for accelerating your next project. You can take your time without worrying about hosting contracts, domain name registration fees/expiration, and can deploy when you’re confident and ready. Additional information about WordPress Multisite is available in the official codex. If you have any immediate questions, feel free to hit us up in our forums. Enjoy!





IT Consultant

www.inCOREporation.com 

Wednesday, October 28, 2020

Wordpress quick config and plugins

Wordpress quick config and plugins 


Settings > 
General
Writing
Reading
Discussion 
Media
Permalinks
UpDraftPlus Backups


Posts
Pages >  
Projects


Appearance > 
Themes
Customize
Widgets
Menus
Background


UpDraftPlus > 
Backup / Restore
Migrate / Clone
Settings
Advanced tools
Extensions
UpDraftPlus Premium


Plugins > 
UpDraftPlus
Prettylinks
Lightbox
GDPR Cookie Compliance
Yoast SEO
Monster Insights
WP Security
WP Insert


Divi Theme
BLOOM (Divi email input eMarketing)
Tools > MONARCH (Social Media)







Carbonator


 
CARBONATOR MY FIRST VIDEO
The Carbonator - Fred Carbone

His name is The Carbonator. He’s got it all, 2 eyes, 2 ears, 2 nortrils, 1 mouth, 2 hands and 10 fingers! See for yourself.

CARBONATOR MUSICIAN DJ PRODUCER

After decades of silence, the legendary Carbonator comes back with energizing power. The Carbonator accumulated many more skills and is ready to share it all with the citizens of planet earth.

Carbonator – 

  • Musician
  • Song writer
  • DJ
  • Music producer
  • Recording engineer
  • Cinematic composing
  • Virtual symphonic orchestration

Music biography:

Born in Arizona, USA, and raised in Montreal, Canada, the Carbonator, AKA Fred Carbone, started his musical journey when he was 5, his parents encouraged him to take piano lessons with a blind teacher but it lasted a little while. A few years later he had saxophone lessons with a professional musician and church member, during 4 years he developed much better musical skills. When his parents divorced around the age of 13, he traded his saxophone for an electric guitar and continued learning music on his own, playing the music he loved, until age 24, when he tried pursuing studies for a while at a classical private college and with a famous jazz bassist, but it was getting impossible as life getting in the way, with 2 new born babies, full-time school and working night-shifts as DJ Carbone in lounge bars, playing Trip-hop and various Electronic dance and chill music, which was great fun and experience. He had a passion from the heart, music was a necessity, despite the challenges he persisted studying on his own and also with other famous musicians much later on.

Since a young age he’s been loving and playing all sorts of music styles and it always been so, from Classical, Jazz, Blues, Country, Soul, Gospel, Reggae, Dub, Ska, Funk, Disco, Pop, Rock, Punk, Metal, Progressive, Alternative, Grunge, Rap, Hip hop, Reggaeton, House, Techno, Breakbeat, Hardcore, Drum and bass. He first became interested in electronic music in the 80’s when he landed his first needle on a vinyl around the age of 10. Much much later, at age 24, EDM was getting mainstream and he bought his first set of decks, he wanted to become a DJ, but he quickly realized it wasn’t going to be easy and crowds don’t lie ever, if you suck you will hear booing, so he practiced and practiced endless hours to finally master the art of DJ’ing to a next level. At the age of 26, he was already being touted by several major night clubs to become their main DJ simultaneously. These opportunities opened some top secret doors to a unique musical experience for the artist, in a mysterious underground world and a very rare access to some content that is influencing his unique creativity to this day. In 1999, he achieved his big break when Carbonator realized he was in the game, the crowd was going insane and everyone was having an amazing time, a club manager was pleased with the results and baptized him the Carbonator, singing “His name is the Carbonator”. So that’s where the name comes from, a mix of DJ Carbone and the character the Terminator, DJ Carbonator always coming up with dynamic and energetic surprising killer mixes. It is at that point he started playing and leading at big events and packing these night clubs at full capacity week after week. His name was made, his name is the Carbonator, the chemistry was perfect, it was the bomb, great entertainment, and great fun, great music and forever memorable crowd experiences.

After 10 years of successful gigs, he suddenly disappeared to balance his personal life, found God again and worked on his relationship with the Father and Creator of music, and remained silent for a long long time, but never stopped loving music, as it always has been a necessity in his life. Music became confidential and he didn’t expose or share much with the world for that period. However, during this period in silence, he developed additional music and professional skills as far as it concerns music in general. The Carbonator – Fred Carbone the musician, DJ, music producer, song writer, recording engineer, has also added cinematic composing, virtual symphonic orchestration and business skills. 

After receiving several offers, Carbonator now joined NexG Productions, who is helping distribute his next music releases. Carbonator is determined and perseverant and since 2019 has been locked in the studio perfecting his craft developing several projects.

Suffice to say, the music scene should be expecting big things from the Carbonator in the years to come.

CARBONATOR – My first video SMART TIP of the day

Join my mailing list to receive more SMART TIPS

Stay connected! Join Carbonator's fan club

* indicates required
 /  ( mm / dd )







Featured Posts

Exchange Online Limits - Office 365 Distribution group limits

Exchange Online Limits - Office 365 Distribution group limits What are Exchange Online Limits What are Office 365 Distribution group limi...