Skip to content

Tag: how-to

Showing page 18 of 19

Import database files

Use VIP-CLI to import a full database file when migrating a site to the VIP Platform, or import a partial database file to update specific tables on a WordPress environment.

Import media files

Media can be imported to the VIP File System with VIP-CLI. This is especially useful for the process of migrating a WordPress site to the VIP Platform.

Configure a reverse proxy

To set up a reverse proxy for a site on the VIP Platform, configurations must be made within the account of the reverse proxy provider, to the DNS of the site’s domain, in the VIP application’s codebase, within the site’s VIP Dashboard, and to the site itself. It is strongly recommended that the configurations of a reverse proxy are kept as simple as possible.

Retire a site from VIP

Notify the VIP team 30 days in advance of the desired retirement date of a WordPress or Node.js application from VIP by creating a VIP Support ticket. At the end of this period, VIP will typically retire all of the application’s environment(s), database(s), media files, and GitHub repository, and update the account’s billing details as per the agreement.

Write environment-specific code

The VIP Platform’s VIP_GO_APP_ENVIRONMENT constant and the WordPress function wp_get_environment_type() can both be used to customize environment-specific behavior in code.

Serve static content

How to serve small amounts of static content on a WordPress environment.

robots.txt

The output of robots.txt can be modified with WordPress actions and filters.

Add a network site

A WordPress multisite network is a collection of sites that all share the same WordPress installation core files. They can also share plugins and themes. The individual sites in the network have separate directories for media uploads within the shared installation, and separate tables in the database.

Test a WordPress site

Before shifting traffic to a new site make sure the site is working as expected and that it is as performant and secure as possible. In general, continuous performance checks should occur during development on a non-production environment, but tests on a production environment just before launch are also recommended.

PHPCS for WordPress VIP

Scanning code locally with PHP_CodeSniffer (PHPCS) provides useful feedback on code quality based on a defined set of coding standards.