Skip to content

Tag: tech-ref

Showing page 22 of 26

Meta queries

There are two types of indexes available for meta query usage on the VIP Platform, and many use cases can be modified to avoid performance problems.

Best practices for database queries

WordPress API functions should be used instead of direct database queries for fetching and manipulating data whenever possible.

WordPress REST API

The WordPress REST API provides an interface for applications to interact with a WordPress site by sending and receiving data as JSON (JavaScript Object Notation) objects.

VIP Platform IP ranges

In some situations, it might be necessary to allow requests from a VIP Platform environment that may need to interact with private resources. For example, to allow requests from a VIP Platform site to an internal tool that is behind a firewall.

Disaster recovery

WordPress VIP maintains a blend of manual and automated procedures for dealing with various equipment or other failures.

Interpreting a PHPCS report

PHP_CodeSniffer (PHPCS) scans that are run against WordPress application code will return an itemized report of all identified errors and warnings and categorizes them by severity.

Subdomain and subdirectory structures

By default, all WordPress multisite environments on the VIP Platform are configured with a subdirectory structure. The SUBDOMAIN_INSTALL constant is defined at platform level in wp-config.php with a default value of false. This value cannot be overridden, even by defining the constant differently in vip-config.php or with any other methods.

sunrise.php

When developing for a WordPress multisite, it is often necessary to load some custom code very early in the WordPress application’s loading sequence, for example custom domain mapping functionality.