Remove index.php file in codeigniter OR wordpress on windows server

Remove index.php file in Codeigniter or wordpress or other freamwork  on Windows IIS7 Server

Here i have share my experience when i faced problem with windows server,  my post english is not well but i have share my thoughts so if anyone have suggestion please share your thoughts with me. In Codeigniter or wordpress  .htaccess file as per my faced experience not working so i have rnd and i have find some solution. Below is the web.config file solution which we have used instead of .htaccess

<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”codeigniter” patternSyntax=”Wildcard”>
<match url=”*”/>
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true”/>
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true”/>
</conditions>
<action type=”Rewrite” url=”index.php”/>
</rule></rules>
</rewrite>
</system.webServer>
</configuration>

Advertisements

2 Comments Add yours

  1. Cora Bryant says:

    Useful info. Fortunate me I found your site unintentionally, and I’m stunned why this twist of fate did not took place in advance! I bookmarked it.

    Like

  2. Aki says:

    Good stuff

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s