• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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