• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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