• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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