Rollbacks in the VIP Dashboard
As an alternative to reverting a pull request in GitHub, a rollback to the image of a previous deployment can be performed in the Deployments panel of the VIP Dashboard for a WordPress and Node.js environment.
Ready to get started with WordPress VIP? Contact us
Showing page 5 of 17
As an alternative to reverting a pull request in GitHub, a rollback to the image of a previous deployment can be performed in the Deployments panel of the VIP Dashboard for a WordPress and Node.js environment.
The default path structure for URLs of files uploaded to a site’s WordPress Media Library is /wp-content/uploads/YYYY/MM/
. An uploaded file will have a URL structure similar to: https://example.com/wp-content/uploads/2023/09/file.jpg
Files stored on the VIP File System can be overwritten programmatically or with VIP-CLI. Overwriting a file is useful for eliminating the need to set a redirect to a newer version of the file. Redirects cannot be configured for any URLs that include /wp-content/uploads/*
.
Before a PHP version is updated on a WordPress VIP Platform environment, all PHP files in an application’s GitHub repository should be scanned with PHPCS for potential incompatibility issues, and the identified issues should be resolved.
PHP linting identifies code syntax problems present in a repository’s PHP files.
Before a PHP version is updated on a WordPress VIP Platform environment, all PHP files in an application’s GitHub repository should be scanned for potential incompatibility issues, and the identified issues should be resolved.
When preparing for a PHP version update, creating automated tests can be useful for identifying incompatibilities with the updated version of PHP.
After application code has been scanned locally for an updated version of PHP, and identified incompatibilities have been fixed, test the performance of the updated code on a WordPress VIP Platform environment.
Installing PHPCS at the project level limits the availability of PHPCS to only from within that project directory. Following these instructions will install:
Installing PHPCS globally makes PHPCS available for use from anywhere on a local machine. Following these instructions will install: