To change the HTTP or HTTPS protocol setting on your store pages, simply follow the steps below depending on the type of page you want.
Layout
The Layout module covers home, catalog (search, categories e products), landing pages and other custom pages.
You can change the protocol in all folders at once by using our API, documented in this Postman collection.
Warning: avoid having HTTPS enabled on only a few pages. When you access an HTTPS page, then go to an HTTP page from the same store, the browser will try to read your resources forcibly over HTTPS, and this can cause problems.
It is appropriate to enable HTTPS throughout the site at one time.
The same goes for desktop and mobile websites (child website), where it is necessary to treat the HTTPS of both at the same time.
- In the VTEX Admin, access Storefront > Layout and open the folder CMS.
- Access Sites and channels.
- Access the desired website.
- Open the root folder of the website.
- The screen that was opened displays all the folders that are on the first level of the site. For each pertinent folder, click Edit - for home, consider the top button;
- In the checkbox Protocol, select the option HTTPS;
- Click in Save Folder.
Attention to folders that have subfolders, such as Departamento, Categoria, Produto, and other folders, including also those created for store customization.
In the following example, the folder Orders, contained in Account, which also must be edited:

After a cache of up to 10 minutes the changes will take effect.