• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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