• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Website redirection not working

Dale Wlaker

New Pleskian
I'm new to Plesk.
Having a challenging time with some website redirection that isn't working. No doubt I've got something fundamentally wrong but here to work out why my redirections aren't working.

Anyway, we've got a bunch of old Wordpress sites on other servers that we're putting to pasture. What we want to do is redirect the domains of the old sites to various pages on our new all encompassing Wordpress site (on Plesk Web Pro). Trouble is, whilst I can redirect old domains to the root of the new site (I used Domain Aliases) I can't redirect a domain to a specific URL on the new site.

Anyway, on Plesk how do I configure Plesk / website redirections to do the following?...

http://oldwebsite1.com > http://newPleskwebsite.com/oldwebsite1page
http://oldwebsite2.com > http://newPleskwebsite.com/oldwebsite2page
http://oldwebsite3.com > http://newPleskwebsite.com/oldwebsite3page

Currently, I've got the oldwebsites set up as Domain Aliases with 301 forwarding and this sort of code in .htaccess of the new site

RewriteCond %{HTTP_HOST} ^oldwebsite1\.com$
RewriteRule ^$ http://newPleskwebsite.com/oldwebsite1page? [L,R=301]

but nothing is happening.

I've got a feeling it's the way I've added Domain alias redirection of the domain on Plesk and it's renaming those those before the website's own redirections try to do their thing. How do I check this and if this is the case, what is the proper way to do this?
 
Have you tried using real redirects instead of domain aliases? A domain alias is a drop-in replacement of the domain name. It will not forward to subdirectories or pages, it will replace the domain name. What you want to do is either creating a real redirect where you can set a target as described in your post or to create a web space in which you use an .htaccess file as you describe in your post.
 
Have you tried using real redirects instead of domain aliases? A domain alias is a drop-in replacement of the domain name. It will not forward to subdirectories or pages, it will replace the domain name. What you want to do is either creating a real redirect where you can set a target as described in your post or to create a web space in which you use an .htaccess file as you describe in your post.

Thank you. As I mentioned. I'm new to Plesk so where would I do that?
 
In the corresponding subscription, please click on "hosting settings", then change the web hosting type.
 
Back
Top