Post by zlobec » Sun Jan 15, 2017 11:34 pm


I am forced to use a Windows server for the OpenCart installation. I'm not a Windows expert so I've been having some trouble with the SEO configuration of the Web.Config file for the Windows server.

I've come to this result that works:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
                <rule name="sitemap" stopProcessing="true">
                    <match url="^sitemap.xml$"/>
                    <action type="Rewrite" url="/index.php?route=extension/feed/google_sitemap"/>
                <rule name="googlebase" stopProcessing="true">
                    <match url="^googlebase.xml$"/>
                    <action type="Rewrite" url="/index.php?route=extension/feed/google_base"/>
                <rule name="systemDownload" stopProcessing="true">
                    <match url="^system/download/(.*)"/>
                    <action type="Rewrite" url="/index.php?route=error/not_found"/>
                <rule name="opencart" stopProcessing="true">
                    <match url="^([^?]*)"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                        <add input="{REQUEST_URI}" pattern=".*\.(ico|gif|jpg|jpeg|png|js|css)" negate="true"/>
                    <action type="Rewrite" url="index.php?_route_={R:1}" appendQueryString="true"/>
Could anybody check if this is correct or should I change something? Thank you!



Tue Nov 17, 2015 11:52 pm
Who is online

Users browsing this forum: No registered users and 11 guests