Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide details how to work on a WordPress site with a development environment.
Preamble
- The process can be used at the beginning of a staging process, that is, the creation of a new version of your live website, in a development or testing environment:
- This allows website owners to test features, security updates, plugins, themes, WordPress updates, and content changes, without risking disruptions or issues on the live site.
- Once the tests have been conducted and the changes have been validated on the staging copy, it is possible to deploy them to production (on the live site) using automated deployment tools or by making the changes manually.
- For additional help contact a partner or launch a free tender — also discover the role of the host.
Simple method
To install and set up a new WordPress site with the Infomaniak installer without overwriting your current website:
1. Install WordPress in a second location
Refer to this other guide to create the new site (in parallel with the old site domain.xyz
) by assigning it a domain name in the form of new.domain.xyz
for example and installing WordPress via Web Applications (Infomaniak WordPress installer).
At this stage, the main site (domain.xyz
) remains untouched and you can calmly work on the new site new.domain.xyz
. Both function in parallel.
2. Replace the old site with the new one
Once the new site is complete, you can delete the first site in order to reuse its domain name for the new one:
- Delete the old site to make the domain name available and reuse it.
- Add domain.xyz as an alias for
new.domain.xyz
. - Reverse the alias with the main domain.
- Remove (unlink/delete)
new.domain.xyz
which has become an alias. - As a precaution, check the main URL of the WordPress site via the Web Applications dashboard on the Infomaniak Manager, to ensure it matches the new name, and not the subdomain you had chosen.
Advanced method
To work on an existing WordPress site without modifying its public version, it is recommended to proceed in 3 steps:
- Duplicate the existing site
- Work on its copy
- Change the target directory of the production site to the production environment directory and modify the URLs of the pre-production site according to the domain name of the production site using a WordPress extension or via phpMyAdmin.
1. Duplicate the site to a second location
- Refer to this other guide to create the new site (in parallel with the old site
domain.xyz
) by assigning it a domain name in the form ofnew.domain.xyz
for example and installing WordPress via the Applications Web (Infomaniak WordPress installer). - Copy your existing site and paste it onto the newly created second WordPress site, using a WordPress extension.
2. Edit the duplicated site
- At this stage, the main site (
domain.xyz
) remains untouched and you can calmly work on the new sitenew.domain.xyz
. Both function in parallel. - It is recommended to install a WordPress extension (there are dozens available) dedicated to putting the second site into maintenance mode.
- If you modify the structure of your site and the URLs of your articles/pages change, you can use a free extension like Redirection to automatically create redirects. This will prevent your visitors from encountering 404 pages while search engines reindex your site or if external sites link to your site.
3. Replace the target
- When you have finished redesigning your site, all you have to do is change the target directory of the production site to the production environment directory and change the URLs of the pre-production site according to the domain name of the production site using a plugin.
- If you are using a caching extension like WP-Rocket, W3 Total Cache or WP Super Cache, it will be necessary to completely clear all the cache or even disable and then reactivate the plugin.
- If you continued to modify your site in production during the site overhaul, it will be necessary to retrieve your modifications (articles, media, pages, etc.).
- After the usual checks (missing images, broken links, etc.), all you have to do is disable the maintenance mode of your site and admire the result.
This guide explains how to install a new WordPress site with WordPress & Apps Infomaniak included in the offersWeb hosting paid.
Install WordPress Infomaniak…
... while creating a new site on hosting
In order to access the Web Hosting and add a new site by installing WordPress at the same time:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned.
- Click on the button to add a site:
- Choose to install WordPress.
- Click the Next button:
- Click on the button to use a domain name already present in your Organization (or on the other button if you need to first order a new domain).
- Select the domain name from your already acquired domains (advanced options include choosing a custom location on the hosting server, and an earlier version of PHP).
- Click the Next button:
- Wait for a few minutes to create the site on the accommodation.
- Enter the requested information, it will serve you to connect in the WordPress dashboard (it is possible to modify this information at any time after installation).
- Click the Next button:
- Enter the information about your site (it is possible to modify this information at any time after installation).
- Click the Next button:
- Choose between the Divi theme and the official theme of the most recent WordPress version (it is possible to modify this information at any time after installation).
- Click Next.
- Choose whether to install two Premium extensions offered with your subscription: Monarch and Bloom.
- Click Next.
- Confirm the installation from the summary page.
- You can then log in to the WordPress dashboard or go back to the management of the Infomaniak website.
... on an existing and empty site
In order to access the existing blank site on the hosting and to install WordPress:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned:
- Click on the button to add an application:
- Choose to install WordPress:
- At the bottom, click the Next button.
- Enter the requested information, it will serve you to connect in the WordPress dashboard (it is possible to modify this information at any time after installation).
- Click the Next button:
- Enter the information about your site (it is possible to modify this information at any time after installation).
- Click the Next button:
- Choose between the Divi theme and the official theme of the most recent WordPress version (it is possible to modify this information at any time after installation).
- Click Next.
- Choose whether to install two Premium extensions offered with your subscription: Monarch and Bloom.
- Click Next.
- Confirm the installation from the summary page.
- You can then log in to the WordPress dashboard or go back to the management of the Infomaniak website.
Uninstall WordPress Infomaniak...
... while deleting the hosting website (and keeping WordPress data or not)
In order to access the Web Hosting and remove the website:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned.
- Click on the action menu to the right of the item.
- Click Unlink the site:
- Choose if you want to erase everything or keep the WordPress data on the hosting server.
- Confirm deletion:
... keeping the site on the accommodation
In order to access Web Hosting and uninstall WordPress:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned.
- Click on the action menu to the right of the application.
- Click Remove Application:
- Confirm the deletion.
- Click Uninstall to remove WordPress:
Read more
This guide explains how to implement a network of WordPress sites in order to manage multiple sites from the same Infomaniak WordPress installation, with URLs of type site1.domain.xyz
, site2.domain.xyz
, or even with domain1.com
, domain2.com
, etc.
⚠For additional assistance contact a partner or launch a call for tenders free of charge — discover also the role of the host.
Installation of Multisite WordPress
To this end:
- Install WordPress via Infomaniak on your hosting space.
- Log in by FTP.
- Edit file
wp-config.php
. - Above the line "
/* That's all, stop editing! Happy blogging. */
" add:
define('WP_ALLOW_MULTISITE', true);
Then go under TOOLS of your WordPress in order to create a network.
Follow the directions. In particular, it will be necessary to:
- Remove any SSL certificate.
- Disable WordPress extensions:
Add sites to your WP network
To this end:
- In WordPress, come back under TOOLS > Networking
- Choose the method of creating your different WordPress (on sub-domains)
- Add the necessary information in the wp-config.php and .htaccess on the server
- After reconnexion to your WordPress you will get a new menu "My sites" in which you can add and manage your different sites from the same network
- On the Manager, add an alias to your site of the form *.your-domain-here (the asterisk allows to create an alias wildcard) with DNS update so that the good
CNAME
be automatically added to the area. - When you create a new site within the network, for example by naming it
site1
then it will become accessible viasite1.domain.xyz
And so on.
Sub-domain and whole domain
Right after the addition in the WordPress network, you have the possibility to change URL the added site:
Click on Edit Site to specify the full URL:
Thank you for entrusting the hosting of your WordPress site to Infomaniak.
Preamble
- For your information, the WordPress site creation tool can be:
- hosted by the WordPress.com infrastructure (paid) and in this case Infomaniak is not involved in the hosting
- installed freely but manually by the user thanks to the archive provided by WordPress.org, Infomaniak is then the web host but does not manage any updates and does not list the application in the Web Applications section of the Infomaniak Manager; you will be in this case if you migrate an external WordPress to Infomaniak
- installed automatically by the tool available on the Manager and in this case WordPress is maintained (in terms of security) largely by Infomaniak
- This is the third and final point that is developed in this guide.
The Infomaniak installer automates the installation and security updates of WordPress ⚠️ For additional help contact a partner or launch a free tender — also discover the role of the host.
Install WordPress & Apps
Infomaniak makes it easy to install the WordPress application (and other applications as well):
Using WordPress
Although WordPress is one of the easiest CMS to use, it is necessary to tame it. To help you in this process, here are external resources in several different languages to get started with WordPress:
- Essential basics to know to get started with WordPress
- WordPress French-speaking community help forum
- FAQ about backups / restorations
- Using a theme or extension ElegantThemes
- Free WordPress training provided by the site progresser-en-informatique.com. If you want to get to the point, focus on the following modules:
This guide provides tips to perform operations related to a WordPress site, which notably allows you to…
- …copy and migrate a WordPress site from a competing host to Infomaniak,
- … change the domain name of a WordPress site,
- … backup an entire WordPress site…
Preamble
- Depending on the context, instead of performing a WordPress transfer, you can also simply…
- … change the site address (the associated domain name) very easily if you have installed WordPress via the Infomaniak installer,
- … duplicate a WordPress site to work in parallel in a development environment…
- For additional help, contact a partner or launch a free tender — also discover the migration service of Infomaniak.
Transfer a WordPress site…
… with the All-in-One WP Migration extension
- Refer to this guide.
- Requires installing a new, clean WordPress (e.g., via the automatic installer) to import the old site onto it.
… with the Duplicator extension
- Refer to this guide.
- Requires connecting to the hosting via FTP to send a
.zip
archive and a PHP file to reinstall the old site.
This guide explains how to add a theme from Elegant Themes (Divi) for free to a WordPress site already installed via the Infomaniak installer.
Prerequisites
- Your WordPress site must be installed via the Infomaniak WordPress tools to use these themes and extensions.
- Themes can be added during installation (step 14 of this other guide) or afterward.
- To benefit from Elegant Themes support (customer service) you must subscribe to an Elegant Themes offer.
Add an Elegant Themes theme
To do this:
- Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
- If your site does not appear here, it means it was not installed via the Infomaniak tools… Refer to the prerequisites above.
- Click directly on the name assigned to the relevant product:
- Click on the action menu â‹® located to the right of the relevant Web Application.
- Click on Settings for the application:
- Click on Edit under Theme:
- Activate the desired theme.
- Click on the Save button:
Using an Elegant Themes extension
Refer to this other guide to install Monarch, Bloom.
This guide explains how to install a new Web Application (Joomla, Drupal, Typo3, PrestaShop, etc.) in a few clicks on the paid Web Hosting offers.
Prerequisites
- Have a Infomaniak Web Hosting (order if necessary).
- Add a blank website to the Infomaniak hosting.
Specific guides
Take note of these guides if you are concerned with the specific installation of:
Refer to this other guide regarding additional technologies that can be installed in a few clicks but on Cloud Server only.
Guides for any other Web Application
To access Web Hosting and install a Web Application:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on the Add an app button:
- Choose the desired application (if necessary, filter and search).
- Click on Select:
- Click at the bottom of the page on Next.
- Enter a name.
- Leave the default location or choose to install the app in a new folder that you can create using an icon visible to the right of point 8 in the image.
- Optionally, choose to install an earlier version if necessary.
- Click on the Next button:
- Set the username and password.
- Specify certain advanced settings if necessary (backup type, among others).
- Review and accept the terms of use of the selected app.
- Click on the Next button:
- Confirm the installation of the application in the next step and wait.
- Take note of any error message on the screen if, for example, the installation folder chosen is not empty or if the PHP version of the site on which you are attempting the installation is not compatible.
Uninstall a Web Application
To access Web Hosting and uninstall the previously installed application:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on the action menu â‹® located to the right of the application to uninstall.
- Click on the trash can icon to delete the application:
- Confirm the deletion.
Learn more
- Modify the domain name associated with the Web Application
- Configure backups for Web Applications
- Restore a Web Application
This guide explains how to add a free extension from Elegant Themes (Monarch, Divi Builder, Bloom, etc.) or a theme to an already installed WordPress site via the Infomaniak installer.
Prerequisites
- Your WordPress site must be installed via the Infomaniak WordPress tools to use these themes and extensions.
- The extensions can be added during installation (step 16 of this other guide) or later.
- To benefit from Elegant Themes support (customer service) you must subscribe to an Elegant Themes offer.
Add an Elegant Themes plugin
For this:
- Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
- If your site does not appear here, it means it was not installed via the Infomaniak tools… Refer to the prerequisites above.
- Click directly on the name assigned to the product in question:
- Click on the action menu â‹® located to the right of the relevant Web Application.
- Click on Settings for the application:
- Click on Add under Extensions:
- Activate the desired extensions.
- Click on the Save button:
- The extensions are then available in your WordPress admin interface:
Use an Elegant Themes theme
Take note of this other guide to install an Elegant Themes theme with Infomaniak.
This guide explains how to disable all extensions installed on your WordPress on a Web Hosting.
Preamble
- If you encounter an issue with your website, disabling WordPress extensions allows you to quickly identify if one of them is causing the problem and to draw the necessary conclusions to fix your site.
- For additional help, contact a partner or launch a free tender — also discover the role of the host.
Quickly disable WP extensions
To disable all WordPress plugins:
- Log in to the server via FTP (need help?).
- Go to the site location (folder corresponding to your WordPress site).
- Rename
/wp-content/plugins
to/wp-content/_plugins
for example- To disable a specific extension, rename
/wp-content/plugins/PluginName
to/wp-content/plugins/_PluginName
for example.
- To disable a specific extension, rename
This guide explains how to replace the main domain name associated with a Website hosted on Infomaniak in case you want to, for example, change the name of your activity or modify the spelling.
Preamble
- It is not possible to simply change the spelling of the domain name in question.
- You must own the new domain name and install it in place of the current one by performing a swap (read below).
- You can also rename your Web Hosting product in the Infomaniak Manager but changing the name of a hosting service has strictly no impact on the URLs of the sites.
- You need to act on the domain name and, if necessary, adapt the content of the site.
Change the website's domain name
Prerequisites
- Prepare the new domain name (if necessary you need to buy it).
- If the change you are looking for is more of a "subdomain" to "main domain" type (
dev.domain.xyz
→domain.xyz
for example) then refer to this other guide.
To replace the domain name assigned to the site with another domain name:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the concerned product:
- Then click on the chevron ‍ to expand the Domains section of this site:
- Refer to this other guide to link the new domain name to your site (read the prerequisites carefully):
- It is this new linked domain that will replace the current primary domain name after the inversion you will perform below.
- Once the new domain name is linked to your site, click on the action menu â‹® to the right of it.
- Choose Set as primary domain:
- If necessary, delete the old domain name and its variants that have become alias domains alias (and no longer primary domains).
If you are using a SSL certificate, you will need to update it to include the added aliases.
If you are using the dedicated IP option, you will need to uninstall and reinstall it after performing the swap.
Adapt the site content to the new name
In some cases, the web application used to develop the site needs to be adjusted to work with the new domain name. Click on the link corresponding to the development of your site to adapt the content: