• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved force redirect from http to https

bugzlife

New Pleskian

hi

need your help, try these force redirect using webconfig end up page has a redirect loop

success get the redirect but still page has a redirect loop, how to solve this problem
<system.webServer>
<rewrite>
<rules>
<rule name="Force HTTPS" enabled="true">
<match url="(.*)" ignoreCase="false"/>
<conditions>
<add input="{HTTPS}" pattern="off"/>
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>

thanks
bugzlife
 
Hi Bugzlife,

I have two apps published with asp.net core in plesk, and not add nothing in web.config, only configure this:

Redirect from http to https, and works fine for my two domains.
1597506261470.png


Have a nice day
 
hi jeffernando

thanks for your replied

i did try it but still page has redirect loop

i'm unsure if the webconfig is correct or not giving me the same results page has redirect loop

thanks
 
hi

i used this code :

<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Force HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

as a result error : page has a redirect loop

sucuri.JPG

please help me, thanks
 
Hi buglife, i hope you are well.

you have a plesk panel? I look at the image and I don't recognize this panel.

does this happen on all pages or only at the home page?

I need a little more information to help you.

have a nice day.
Best reggards,
 
hi jeff

thanks for your prompt replied, appreciated

i'm fine as usual, hope you are fine as well

i'm using Sucuri Security
to check the website

yes i have a plesk panel, did try set it the redirect from plesk end up redirect loop and it happened all the pages

if i type ABC Home Page - ABC.com, ABC Home Page - ABC.com : it secured shown locked icon
type ABC Home Page - ABC.com, ABC Home Page - ABC.com : it unsecured shown no locked icon
type abc.com, www.abc.com : it unsecured shown no locked icon

that's the reason why the support of plesk asked me to create force redirect using webconfig to get http redirects https


thanks
bugzlife
 
can anybody help me

everytime i use sample codes and try, still the same result redirect loop

thanks
bugzlife
 
Back
Top