{"id":17,"date":"2011-07-03T08:45:31","date_gmt":"2011-07-03T08:45:31","guid":{"rendered":"http:\/\/itrcp.com\/blog\/?p=17"},"modified":"2013-08-11T15:19:30","modified_gmt":"2013-08-11T15:19:30","slug":"clean-url-rewriting-in-wordpress-on-windows","status":"publish","type":"post","link":"https:\/\/www.itrcp.com\/blog\/wordpress\/clean-url-rewriting-in-wordpress-on-windows.html","title":{"rendered":"Clean URL rewriting in wordpress on windows"},"content":{"rendered":"<p>I came across with wordpress on windows installation with hosted windows server as many of the hosting providers are offering PHP on windows server. I was used to use wordpress on linux servers always but one of my client wants to install his blog beside his website on windows server and he found problem in URL rewriting in wordpress.<\/p>\n<p>As many of you guys knows that windows do not support .htaccess so you need to find the alternate solution for URL rewriting in wordpress. Here is the best way to do so .<\/p>\n<p>After installation of wordpress as it another lengthy topic to install wordpress on windows I will skip the installation part and will move directly to the URL rewriting in WordPress as below<\/p>\n<p><strong>The way it works.<\/strong><br \/>\nEven with ISAPI Rewrite, your WordPress permalinks most likely will be broken without the ugly, prepended <code>\/index.php\/<\/code>. The problem is that the <code>REQUEST_URI<\/code> server variable is not sent by IIS or ISAPI Rewrite. This plugin solves URL rewriting in WordPress.<a href=\"http:\/\/itrcp.com\/blog\/wp-content\/uploads\/2011\/07\/url-rewriting-in-wordpress.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-24\" title=\"url-rewriting-in-wordpress\" alt=\"url-rewriting-in-wordpress on Windows\" src=\"http:\/\/itrcp.com\/blog\/wp-content\/uploads\/2011\/07\/url-rewriting-in-wordpress-282x300.png\" width=\"282\" height=\"300\" srcset=\"https:\/\/www.itrcp.com\/blog\/wp-content\/uploads\/2011\/07\/url-rewriting-in-wordpress-282x300.png 282w, https:\/\/www.itrcp.com\/blog\/wp-content\/uploads\/2011\/07\/url-rewriting-in-wordpress.png 496w\" sizes=\"auto, (max-width: 282px) 100vw, 282px\" \/><\/a><\/p>\n<p>This solution is more elegant that changing the WordPress core files because it allows you to easily upgrade WordPress without additional maintenance.<\/p>\n<p><strong>Download and Documentation.<\/strong><br \/>\nYou can <a href=\"http:\/\/downloads.wordpress.org\/plugin\/isapi-rewriter.zip\" target=\"_blank\" rel=\"external\">download ISAPI Rewriter<\/a> from the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/\" target=\"_blank\" rel=\"external\">WordPress Plugin<\/a> directory.<\/p>\n<p>You can view documentation at the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/isapi-rewriter\/\" target=\"_blank\" rel=\"external\">ISAPI Rewrite plugin<\/a> page.<\/p>\n<p>Hope you will be able to do URL rewriting in WordPress. so you are done with it , enjoy your wordpress blogging .<\/p>\n<p>want to learn more about worpress check <a title=\"Wordpress Tips\" href=\"http:\/\/www.itrcp.com\/blog\/wordpress\/\">WordPress tips <\/a>.<\/p>\n<p>Recommendations about WordPress<\/p>\n<ul>\n<li>Always try to use Linux hosting rather than windows hosting as WordPress is PHP base open source platform<\/li>\n<li>Consult with an SEO Expert for using SEO plugin or read reviews about plugins before installation<\/li>\n<li>WordPress is easy to use and very much user friendly when considering using any CMS<\/li>\n<li>If you are trying to decide to use an free blog you need to use <a title=\"Wordpress\" href=\"http:\/\/www.wordpress.org\">wordpress.org<\/a> as they are offering free blogs and its easy to get it free<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across with wordpress on windows installation with hosted windows server as many of the hosting providers are offering PHP on windows server. I was used to use wordpress on linux servers always but one of my client wants to install his blog beside his website on windows server and he found problem in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":61,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[14],"class_list":["post-17","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-url-rewriting-in-wordpress"],"_links":{"self":[{"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":11,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions\/348"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itrcp.com\/blog\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}