- Plesk for Linux
- Plesk for Windows
Preferred domain is set to www.example.com at Domains > example.com > Hosting Settings .
The Permanent SEO-safe 301 redirect from HTTP to HTTPS option is enabled at Domains > example.com > Hosting Settings.
Links in https://www.example.com/sitemap.xml do not contain www or https when the website example.com site is published in Presence Builder editor.
#PPPM-6867 "A website’s sitemap.xml generated by Web Presence Builder now includes the www and HTTPS prefixes of the website URLs when “Permanent SEO-safe 301 redirect from HTTP to HTTPS” is selected and the www domain is preferred."
- Plesk Obsidian 04 August 2020
If update is not possible for some reason you may try the following
For Plesk Obsidian
The bug will be fixed in the next Plesk Obsidian update (August 4th)
For older Plesk releases
As a workaround, apply the patch for
Plesk for Linux:
Plesk for Windows:
Apply the patch
Create a backup of the original
Download the patched file for your Plesk version below and rename it to
Replace the original
Abstract.phpfile with the patched one
For example, on Linux:
# cp -f Abstract.php /usr/local/psa/admin/plib/Sitebuilder/Transport/Abstract.php