{"id":172,"date":"2016-06-10T17:45:33","date_gmt":"2016-06-10T17:45:33","guid":{"rendered":"http:\/\/www.3pixls.com\/blog\/?p=172"},"modified":"2016-06-10T17:47:29","modified_gmt":"2016-06-10T17:47:29","slug":"permalink-structure-of-wordpress-not-working-on-godaddy-host-with-windows-hosting-and-iis-server","status":"publish","type":"post","link":"https:\/\/www.3pixls.com\/blog\/permalink-structure-of-wordpress-not-working-on-godaddy-host-with-windows-hosting-and-iis-server\/","title":{"rendered":"Permalink Structure of wordpress not working on Godaddy host With windows hosting and IIS Server"},"content":{"rendered":"<p>You need to create a web.config file in the root directory of your WordPress installation (the same directory as the .htaccess file), and add the following code in web.config:<br \/>\n[xml]<br \/>\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br \/>\n&lt;configuration&gt;<br \/>\n  &lt;system.webServer&gt;<br \/>\n    &lt;rewrite&gt;<br \/>\n      &lt;rules&gt;<br \/>\n            &lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt;<br \/>\n                &lt;match url=&quot;*&quot;\/&gt;<br \/>\n                    &lt;conditions&gt;<br \/>\n                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot;\/&gt;<br \/>\n                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot;\/&gt;<br \/>\n                    &lt;\/conditions&gt;<br \/>\n                &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot;\/&gt;<br \/>\n            &lt;\/rule&gt;&lt;\/rules&gt;<br \/>\n    &lt;\/rewrite&gt;<br \/>\n  &lt;\/system.webServer&gt;<br \/>\n&lt;\/configuration&gt;<br \/>\n[\/xml]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You need to create a web.config file in the root directory of your WordPress installation (the same directory as the .htaccess file), and add the following code in web.config: [xml] &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;rewrite&gt; &lt;rules&gt; &lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt; &lt;match url=&quot;*&quot;\/&gt; &lt;conditions&gt; &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot;\/&gt; &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot;\/&gt; &lt;\/conditions&gt; &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot;\/&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":175,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":2,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts\/172\/revisions\/174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/media\/175"}],"wp:attachment":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}