{"id":1618,"date":"2013-10-03T00:34:59","date_gmt":"2013-10-03T00:34:59","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=1618"},"modified":"2013-10-03T00:37:17","modified_gmt":"2013-10-03T00:37:17","slug":"wordpress-pretty-permalinks-on-iis-7-0","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=1618","title":{"rendered":"WordPress Pretty Permalinks on IIS 7.0"},"content":{"rendered":"<p>Just create a<strong> web.config<\/strong>\u00a0 in wordpress root dir:<\/p>\n<p>[xml]<\/p>\n<p>&lt;?xml version=&quot;1.0&quot;?&gt;<\/p>\n<p>&lt;configuration&gt;<\/p>\n<p>    &lt;system.webServer&gt;<br \/>\n        &lt;rewrite&gt;<br \/>\n            &lt;rules&gt;<br \/>\n                &lt;rule name=&quot;Main Rule&quot; stopProcessing=&quot;true&quot;&gt;<br \/>\n                    &lt;match url=&quot;.*&quot; \/&gt;<br \/>\n                    &lt;conditions logicalGrouping=&quot;MatchAll&quot;&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;<br \/>\n            &lt;\/rules&gt;<br \/>\n        &lt;\/rewrite&gt;<br \/>\n     &lt;\/system.webServer&gt;<br \/>\n&lt;\/configuration&gt;<\/p>\n<p>[\/xml]<\/p>\n<p>Read more:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"DdGMcIL4qc\"><p><a href=\"https:\/\/www.craigbailey.net\/wordpress-pretty-permalinks-on-iis-7-0\/\">WordPress Pretty Permalinks on IIS 7.0<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;WordPress Pretty Permalinks on IIS 7.0&#8221; &#8212; Craig Bailey\" src=\"https:\/\/www.craigbailey.net\/wordpress-pretty-permalinks-on-iis-7-0\/embed\/#?secret=JIJKRCFbWq#?secret=DdGMcIL4qc\" data-secret=\"DdGMcIL4qc\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\nhttp:\/\/codex.wordpress.org\/Using_Permalinks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just create a web.config\u00a0 in wordpress root dir: [xml] &lt;?xml version=&quot;1.0&quot;?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;rewrite&gt; &lt;rules&gt; &lt;rule name=&quot;Main Rule&quot; stopProcessing=&quot;true&quot;&gt; &lt;match url=&quot;.*&quot; \/&gt; &lt;conditions logicalGrouping=&quot;MatchAll&quot;&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; &lt;\/rule&gt; &lt;\/rules&gt; &lt;\/rewrite&gt; &lt;\/system.webServer&gt; &lt;\/configuration&gt; [\/xml] Read more: WordPress Pretty Permalinks on IIS 7.0 http:\/\/codex.wordpress.org\/Using_Permalinks<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,132],"tags":[159],"class_list":["post-1618","post","type-post","status-publish","format-standard","hentry","category-truques-dicas","category-wordpress","tag-permalinks","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1618"}],"version-history":[{"count":5,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1618\/revisions"}],"predecessor-version":[{"id":1620,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1618\/revisions\/1620"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1618"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}