Category Archives: Technical

HOw to: WordPress MultiSite with Multi TOP level Domain (TLD)

The most powerful feature of WordPress Multisite is the ability to have multiple sites under one parent WordPress environment. This tutorial will help you add new sites to your WordPress Multisite environment and map a custom domain to the new site.

A lot of article focuses on multisite of WordPress on subdomains but this article will focus on have multisite with Top Level Domain (TLD).

Enabling Multisite on WordPress

For this section, you will need FTP access or SSH access.
Locate the following file, “wp-config.php”, this should in the following location, /var/www/wordpress/

Now you need to locate the following line of text within the file.

“/* That’s all, stop editing! Happy publishing. */”

Add the following line above it.

“define(‘WP_ALLOW_MULTISITE’,true);”

Save and head back to the wp_admin console.

Installing Multi Site.

Head over to Tools -> Network Setup and hit Install

Multi Site-Network Setup

Head back to wp-config.php and paste the following code and edit .htaccess as per instruction.

Network Access (Domain Mapping)

Now when we log in, you can see the Network Access.
You can now create different sites but we want to have a different domain for each site. You can mess around with the .htaccess file but lets use an easier way.

Install the following WordPress plugin, https://wordpress.org/plugins/wp-multi-network/

You should see the following screen, this allow you to easily access it and map the domain.

Platform Developer CErtification I – Learn What’s New for Platform Developers in Spring ’19

LEARN WHAT’S NEW FOR PLATFORM DEVELOPERS IN SPRING ’19

Which Apex interface can be implemented to allow My Domain users to log in with something other than their username and password?

A. Auth.AuthToken
B. Auth.VerificationMethod
C. Auth.LoginDiscoveryHandler
D.Auth.MyDomainLoginDiscoveryHandler

Answer: D

With Spring ’19, which method returns a list of OrgLimit instances used to investigate limits and their names, current value, and maximum value?

A. getAll() from the System.OrgLimit Class
B. getAll() from the System.OrgLimits Class
C. getInstances() from the System.OrgLimit Class
D. getInstances() from the System.OrgLimits Class

Answer: B

With Spring ’19, which properties of an unhandled Apex exception are available in Event Monitoring log files?

A. Static variable state and stack trace
B. Exception type, name, and static variable state
C. Stack trace, user’s location, and exception type
D. Exception message, exception type name, and stack trace

Answer: D

Which field of the SandboxInfo object is a reference to the ID of the SandboxInfo that served as the source org for a cloned sandbox?

A. SourceId
B. TemplateId
C. SandboxName
D. SandboxInfoId

Answer: A

You created a custom metadata type to handle your company’s warranty policy. The custom metadata type’s label is WarrantyRule. For it, you created a custom field labeled Warranty and a metadata record labeled Gold. What is the correct syntax to reference the value stored in the Gold metadata record?

A. $WarrantyRule.Gold.Warranty__c
B. $WarrantyRule__mdt.Gold.Warranty
C. $CustomMetadata.WarrantyRule.Gold.Warranty
D. $CustomMetadata.WarrantyRule__mdt.Gold.Warranty__c

Answer: D

For the next section, visit the following link.

WORK WITH THE NEW APEX SECURITY SETTINGS (SPRING ’19)

PLATFORM DEVELOPER I Certification Maintenance – Work with the New Apex Security Settings (Spring ’19)

WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.