Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Customers no longer able to checkout
Previous Page
Author « Topic »
Page: of 2

RatFink
Advanced Member

USA
111 Posts

Pre-sales questions only
(More Details...)

Posted - 06/12/2018 :  20:04:18  
I do have a web.config file in the root of my website

dbdave
ECT Moderator

USA
10468 Posts

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
Page: of 2 « Topic »  
Previous Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000