WordPress
WordPress Setup
For internal or staging WordPress projects we use WebHS as our hosting provider.
To log in, use the credentials on 1Password under https://gestao.webhs.pt/clientes/index.php
All the Staging Projects are under Serviços / Listar Serviços / Revenda – Linux – RV @XS (revenda.pipecodes.com)
-
Access that service and then “Entrar no WHM” and “List Accounts” Option
-
When you are here you can access each cPanel of the accounts already created or create a new account for new projects – just use the subdomain as the account name
-
Under each cPanel, you will find access to every Database, Files, Database Users, FTP configurations, etc
-
Configure the Auto SSL under Cpanel
-
If you’re setting up a new WordPress Environment, after creating the account, access the cPanel and run the “WordPress Manager by Softaculous” installation wizard.
After that WordPress will be quickly installed.
Make sure you also install the recommended plugins and starting up tasks:
https://docs.google.com/spreadsheets/d/13ONkYpF6igwzA1jo8IACUThjYhjKdygSGcbTzMloMoE/edit#gid=0
Are you importing the website from another hosting?
1- Export the database and files from the “old hosting”
2- Import the database and files into the “new hosting”
3- In the “new hosting” > update the wp-config.php file with the correct domain:
define( ‘WP_HOME’, ‘https://example.com’ );
define( ‘WP_SITEURL’, ‘https://example.com’ );
4- In the “new hosting” > Instal the Go Live Update Urls Plugin
5- In the “new hosting” > Run the Go Live plugin, select all tables and use the old domain and the new one to be updated