To activate the Permalinks feature in WordPress, follow the instructions below:
- Log in to WordPress with administrator rights
- In the WordPress back office, click on the Settings menu.
- Click on the Permaliens submenu.
- This will take you to the page where you can customize the way WordPress generates permalinks for articles.
- Click on Save Changes.
Using the Plesk file manager or an FTP client (ie: FileZilla), open the web.config file (if the file does not exist, you must create it) which is located in the same directory where Wordpress files are installed, then paste the following XML section:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
<rewrite>
<rules>
<clear />
<rule name="WordPress Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<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>
<outboundRules>
<clear />
</outboundRules>
</rewrite>
</system.webServer>
</configuration>