The URL Rewrite
which is installed in the Server IIS, where I use to run my websites with PHP Friendly URL.
Link to Install Extension: http://www.iis.net/downloads/microsoft/url-rewrite
Since you must not have installed the IIS, I converted for you by the configuration passed in the question and would be like this by the Rewrite
.
Create a file with this name and extension web.config
and paste in that Xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" enabled="false" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{SCRIPT_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{SCRIPT_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?link={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
There is one however, this rule may work if it is the only .htaccess
in your project, if you have more you have to generate one for each ...
By chance which
framework MVC para PHP
you are using ?– user6026
Dear Fulvio, I use my own framework with PHPOO, PDO and Smarty
– Marcus V. Nash
Very cool, maybe my answer will do, you already tested?
– user6026