• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

301 redirect from non-www to www in web.config file

ManjeetS

New Pleskian
Hi,

I am facing problem in redirecting my website thetubemedia.com to www.thetubemedia.com

I am using Parallels Plesk Panel 11.0.9 hosting services.

My website is developed in PHP and I don't know about the IIS programming. Please help me to solve this issue.

I have tried this script:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="301 Redirect 1" stopProcessing="true">
<match url="^thetubemedia\.com$" />
<action type="Redirect" url="www.thetubemedia.com" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

Is there any solution to solve this non www to www problem.

Thanks in advance..
 
Hi Manjeet,

I am also looking for same issue to resolve, my website also doesn't open in preferred domain with www. ? .. . hi parallel team , come here to help ..

Hi,

I am facing problem in redirecting my website thetubemedia.com to www.thetubemedia.com

I am using Parallels Plesk Panel 11.0.9 hosting services.

My website is developed in PHP and I don't know about the IIS programming. Please help me to solve this issue.

I have tried this script:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="301 Redirect 1" stopProcessing="true">
<match url="^thetubemedia\.com$" />
<action type="Redirect" url="www.thetubemedia.com" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

Is there any solution to solve this non www to www problem.

Thanks in advance..
 
Back
Top