Skip to main content
All CollectionsGeneral
Creating a redirection in Plesk
Creating a redirection in Plesk
Lourdes avatar
Written by Lourdes
Updated over a year ago

Method 1 (The fastest and simplest):

If we already have the domain added to Plesk and with hosting type "Website"

Simply, we enter the file manager of that domain and edit the .htaccess file (if we don't have it, we click on create and name it .htaccess)

We click and let's see an example:

My case >> I have the domain "dominiopararedirigir.com" and I want to redirect it to "dominiopararedirigir.es", I will add this line to the htaccess of the domain dominiopararedirigir.com:

redirectMatch 301 ^(.*)$ http://dominiopararedirigir.es

Now, I want to redirect the url dominiopararedirigir.com/categoria1 to dominiopararedirigir.es/categoria5

Redirect 301 /categoria1 https://dominiopararedirigir.es/categoria5

Method 2, more elegant and clean in Plesk if we only want to have for example email and we don't want to have the domain as a website

We access the domain we want to convert into a redirection

We click on hosting and dns > hosting configuration

We click on change where it says website and once inside, in the dropdown, we select redirection

We put the destination URL in the box (the domain where it should go)

and click on accept

Redirection done.

Method 3, the simplest, only if we don't want to use a domain from our license and we won't have emails:

This method is the simplest, we add the domain as an alias of the destination domain and that's it!

I hope this has been useful for managing your redirects, if you have any questions, do not hesitate to ask us.

Best regards

Did this answer your question?