Auto Redirect No-WWW to WWW. In Parallels Plesk Panel

Discussion in 'Site & Server Administration' started by joujoba, Jul 25, 2011.

  1. #1
    Hello,

    I wish my website to direct all links without the prefix WWW to the domain containing WWW.
    how can i do that?
    thank u
     
    joujoba, Jul 25, 2011 IP
  2. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #2
    There is no option in Plesk to set the direct. However, you can easily set the redirect using the .htaccess file. Create a .htaccess under the httpdocs folder of your domain and place the following code

    replace example.com with your actual domain name.
     
    madaboutlinux, Jul 26, 2011 IP
  3. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you but my same site can be accessed from multi top domain: example.com example.net example.ws
    can this be dealt with?
     
    joujoba, Jul 26, 2011 IP