• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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