Hello guys, Today I was faced query string issue on magento project in azure where ? querystring not working like pagination which url like this ?p=2 , same in attribute line ?color=5.
Query string problem occurs in azure .I resolved this problem like this-
set querystring=true like that
web.config file upload in root directory
Query string problem occurs in azure .I resolved this problem like this-
set querystring=true like that
web.config file upload in root directory
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.webServer>
<!-- start this code for .woff extension include --> <staticContent> <mimeMap fileExtension="woff" mimeType="application/font-woff" /> <mimeMap fileExtension="woff2" mimeType="application/font-woff" /> </staticContent>
<!-- end this code for .woff extension include --> <rewrite> <rules> <rule name="Rule" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> <add input="{URL}" pattern="^/favicon.ico$" ignoreCase="false" negate="true" /> </conditions>
<!-- start code for query string --> <action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
<!-- end code for query string --> </rule> </rules> </rewrite> </system.webServer> </configuration>