Windows 호스팅 (Plesk) 도움말

Redirect my WordPress website to HTTPS for Plesk hosting

If you have a secure certificate (SSL) on your WordPress website, you can automatically redirect visitors to the secured (HTTPS) version of your website to make sure their information is protected.

Note: Several plug-ins are available for WordPress that can redirect your URL automatically after you have installed your SSL certificate. For help with WordPress plugins, see wp.org

How you redirect traffic depends on the type of hosting you have.

WordPress installed on Plesk/Windows hosting

  1. Log in to your WordPress admin panel.
  2. Click Settings and then General.
  3. Change your WordPress URL and Site URL from http://coolexample.com to https://coolexample.com and click Save Changes.
  4. Create a web.config file in your httpdocs folder
  5. Insert the code listed below into your web.config file and save the file.
    <configuration> <system.webServer> <rewrite> <rules> <clear /> <rule name="Redirect to https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="true" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" /> </rule> <rule name="Main Rule" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php/{R:0}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>

    More info


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.