Internal Product DocsGENHow to...Checklist for Overwriting Sandbox or Updating it

Checklist for Overwriting Sandbox or Updating it

open a text file on your computer and enter the following:

User-agent: *

Disallow: /

Save the file and rename it robots.txt

upload the robots.txt file to the instance folder on the server: /var/www/vhosts/i-0f218c84d551faac6 to prevent search engines from indexing the sandbox

go to the file system and open the wp-config.php file. It is located here: /var/www/vhosts/i-0f218c84d551faac6

check that the following are set:

define( 'RCP_DISABLE_EMAILS', true );
define( 'RCP_GATEWAY_SANDBOX_MODE', true );
Click to copy

In the dashboard, go to restrict > settings click the payments tab

scroll down to Sandbox Mode and click the box next to Use Restrict Content Pro in Sandbox mode. This allows you to test the plugin with test accounts from your payment processor.

scroll down to the save button and click it to switch to sandbox mode

You are done. Great job!