Skip to content

Tag: how-to

Showing page 13 of 19

Search tokenization

Tokenization applies a more sophisticated set of rules during a search, which eliminate the need for full-text search and also returns more relevant document results. The behavior of tokenization can be customized with filters.

Customize the VIP Code Analysis Bot

The VIP Code Analysis Bot can be customized by adding configuration options to a JSON file that is located within the root of an application's wpcomvip GitHub repository.

Customize PHPCS scanning

PHPCS analysis is run against code in all relevant files of a pull request by default. Methods are available to modify some aspects of the PHPCS analysis.

Block unwanted origin requests with PHP

The VIP_Request_Block utility class provides a programmatic way to block unwanted requests at the application level based on IP addresses, user agent strings, and other parameters using PHP.

Version with Enterprise Search

Versioning makes it possible to perform a reindex of an Elasticsearch index and check the health of the new index before replacing the current index.

Using Composer on VIP

How to use Composer for managing runtime or development dependencies on VIP.