Posted - 06/12/2018 : 20:19:21
Ok, it looks like somehow you are already redirecting to the https version of your site. going to http://www.pwcgraphics.com forces to https://www.pwcgraphics.com but http://pwcgraphics.com forces to https://pwcgraphics.com and we want http://pwcgraphics.com to go to https://www.pwcgraphics.com So download your web.config file and open it in your html editor, or notepad (assumes you are on a windows computer). You should already see some rules in there, and at the beginning of those rules, you should add another rule. The parts in red below likely already exist. If yes, just add another rule in there before the others. WARNING Make a backup of that working webconfig in case of problems - you can put back the original. Upload the changed file to the server and test the site. <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Canonical name" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTP_HOST}" negate="true" pattern="^www\.pwcgraphics\.com$" /> </conditions> <action type="Redirect" url="http://www.pwcgraphics.com/{R:1}" redirectType="Permanent" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Edited by - dbdave on 06/12/2018 20:19:52
|