• 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.

SEO: Does plesk do a 301 Redirect?

M

MartinL

Guest
I have www.domain.com setup in Plesk and working fine. I needed to get domain.com (no www.) to also work. I've found that if I just change my DNS server so that there is an A record for WWW.domain.com and domain.com both pointing to Plesk then both work.

My question is, how does the non WWW redirect that Plesk is doing work? Is it using a 301 redirect or something else? Does anyone know if the way it is doing it is SEO friendly or not? I believe that to be SEO friendly, the proper way to redirect a non WWW site is using 301, can anyone confirm if thats what plesk is doing?

If it's not, is there a way of turning this redirect off so I can use a 301 in a HTaccess file?

thanks for the help

Martin
 
Sorry I don't understand what that is showing me.

After looking on loads of different sites it seems like I either need to put an entry in vhost.conf or .htaccess to do a 301 redirect from test.com to www.test.com

so far I have tried several variations on:

RewriteBase /
RewriteCond %{HTTP_HOST} ^http://test.com/$ [NC]
RewriteRule ^(.*)$ http://www.test.com/$1 [R=301,L]

and

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}$1 [QSA,R=301,L]

None of which work. The closest I have got is breaking the test.com hosting while the www.test.com part still works, so it seems it is making a difference, maybe I am missing something very simple?

I am really stuck on this, if anyone can offer any suggestions I would really appreciate it
 
Back
Top