Comments on: IIS 7 URL Rewrite Module support in WordPress 2.8 https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/ Azure App Service Features and Best Practices Sat, 06 Aug 2022 03:42:27 +0000 hourly 1 https://wordpress.org/?v=6.2.16 By: PHP: Extensionless URLs in IIS7 (windows)? (for wordpress) https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-36805 Sat, 06 Aug 2022 03:42:27 +0000 http://ruslany.net/?p=393#comment-36805 […] You can find more detailed information on Ruslan’s blog here: http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/ […]

]]>
By: Alexander https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-513 Mon, 11 Dec 2017 11:50:56 +0000 http://ruslany.net/?p=393#comment-513 Thank you for this amazing tutorial. I have also gone through a deep research and found several amazing tutorials for Creating own custom url using the code.

function prefix_news_rewrite_rule() {
add_rewrite_rule( ‘news/([^/]+)/photos’, ‘index.php?news=$matches[1]&photos=yes’, ‘top’ );
add_rewrite_rule( ‘movie/([^/]+)/videos’, ‘index.php?news=$matches[1]&videos=yes’, ‘top’ );
}

add_action( ‘init’, ‘prefix_news_rewrite_rule’ );

Reference: https://www.wpblog.com/wordpress-url-rewrite-for-custom-page-template/

]]>
By: Dinesh Kudache https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-512 Fri, 02 Jan 2015 12:03:42 +0000 http://ruslany.net/?p=393#comment-512 Hello ruslany,
I am trying to do URL rewrite for PHP urls under Windows hosting URL
Currently URL works as:
http://www.technoexam.com/test/?t1=goa
I want it as http://www.technoexam.com/test/goa/

How to do it? Tried a lot using xml coding in web.config. Please help me. Thanks in advance.

]]>
By: michell https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-511 Tue, 10 Jan 2012 13:10:58 +0000 http://ruslany.net/?p=393#comment-511 Hi sir,

I am getting a 404 error whenever i changed the permalink of my site. Do you know why that might be? I meet all the requirements

php 5.2.13(Fast CGI Application)
iis 7
url rewrite 2.0
wordpress : 3.1

When i update my permalink it will not suggest any code to me. Even manually i created the web.config file and put the code then it gives the 505 error.
Is there any solution for this? Thank you.

]]>
By: sagar https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-510 Tue, 10 Jan 2012 10:36:09 +0000 http://ruslany.net/?p=393#comment-510 Hi ruslany,
I used following things

IIS : 7
Php : 5.2 (Fast CGI Application)
wordpress : 3.1
URL Rewrite Module v2.0 RC

my permalink is default. And i want use the structure base permalink. I install all the require module which you define above. But when i update the permalink like(/%year%/%monthnum%/%postname%/) but it will not suggest the web.config code as you shown. And i tried to put manually in the web.config file but it gives 404 error.
plz help me what i have to do for this

or any other solutions for this problem.

]]>
By: Ruslan https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-509 Wed, 19 Oct 2011 22:50:30 +0000 http://ruslany.net/?p=393#comment-509 Hi Franklin, I do not think it is necessary because as far as I remember the FastCGI update included a fix for this problem.

]]>
By: Franklin Tse https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-508 Tue, 18 Oct 2011 18:02:39 +0000 http://ruslany.net/?p=393#comment-508 Hi Ruslany,

A WordPress Trac ticket was created attempting to fix how IIS FastCGI handles the REQUEST_URI server variable with non-ASCII characters. Is that necessary? Would you mind reviewing the patch?

https://core.trac.wordpress.org/ticket/18987

Thanks,
Franklin

]]>
By: Ruslan https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-507 Tue, 04 Oct 2011 04:11:44 +0000 http://ruslany.net/?p=393#comment-507 Hi Mark, it looks like the index.php is not added as a default document in iis. Try adding it as described in this post.

]]>
By: Mark https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-506 Mon, 03 Oct 2011 11:35:55 +0000 http://ruslany.net/?p=393#comment-506 Hey,

first of all, I searched for all kind of permalinks solutions and this seems to be the only one working, many many many thanks ruslany!!
However: I’ve the same problem as stated above (Oliver): everything works perfect, except the homepage 🙁 it works when i put index.php behind it. I don’t really understand the solution, explaining it in simple words would be so awesome. Many thanks in advance!!

]]>
By: Ruslan https://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-505 Fri, 26 Aug 2011 16:48:15 +0000 http://ruslany.net/?p=393#comment-505 Hi Oliver, it’s great that you’ve figured it out. Although I am getting HTTP 500 on your site at the moment :).

]]>