I want to remove index.php from url , i am using wordpress and iis7 .
how can i do this
Leave a Reply
You must be logged in to post a comment.
I want to remove index.php from url , i am using wordpress and iis7 .
how can i do this
You must be logged in to post a comment.
Use this web.config
(web.config is the IIS equivalent to .htaccess file in apache webservers. It can be found in the root folder. If there is none, you need to create one.)
Then in permalinks page, set “Custom Structure” and give the value
/%postname%/
Note that URL Rewrite module specific to IIS version needs to be installed for this to function(Thanks to @Spikolynn’s comment below)
Another pretty quick solution, in a situation where you uses Windows Azure websites, is to use
Microsoft WebMatrix
to login into your website and just create a web.config file as this article pointed out. That solves it. No need to install aURL Rewrite extension
or anything like that yourself. MS Webmatrix seem to solve the problem easily.