• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Input Make domain aliases redirect non-GET requests with 308 instead of 301

spaziodev

New Pleskian
Used Plesk version: Plesk Obsidian 18.0.78 Update #3

One of our websites has recently been relocated to another domain, and the old domain has been added as a domain alias. The alias redirects requests to it with a 301 response, as specified by the "Redirect with the HTTP 301 code" option. However, this causes a huge problem: Many API requests still come to the old URL, and if a POST request or any other non-GET requests arrive, the 301 redirect turns them into GET requests. Currently, i manually edit the file at /etc/nginx/plesk.conf.d/vhosts/domain_name.conf to replace all the "return 301" with "return 308", but this file is regenerated when any system updates occur. Could a new "Redirect non-GET requests with HTTP 308 code" option be added to domain aliases?
 
Hi, @spaziodev . The request you have submitted on features.plesk.com has been successfully logged. Potential implementation is going to be evaluated, but at this time there's no active initiative to introduce 308 redirects for Alias domains.
 
Back
Top