Plesk

How to redirect specific URL to another domain in Plesk?

Question

Is it possible to redirect a specific URL of the domain to another domain via Plesk interface?

Answer

Currently, there is no such functionality in Plesk.

If you would like to see this feature in Plesk, please vote for it on Plesk UserVoice:

 

As a workaround, it can be achieved via nginx rewrite rules:

  1. Log in to Plesk.

  2. Navigate to Domains > example.com > Hosting & DNS > Apache & nginx settings > Additional nginx directives page.

  3. Specify redirect directives to redirect specific link https://example.com/something to another domain example.net:

    location /something {
    rewrite ^/something(.*)$ https://example.net redirect;
    }

Note: "something" should be replaced with your own URL path.