SEO Friendly urls not working in wordpress on IIS Server

We can add SEO Friendly urls in wordpress on IIS Server without using the .htaccess file. add the following in web.config. Remember .htaccess is not applicable on iis it works only apache servers.

 

<system.webServer>
<rewrite>
<rules>
<rule name=”WordPress Rule” stopProcessing=”true”>
<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>

Similar Posts
November 30, 2021 | 5 min read
Get the Best from WordPress in 2021 Using These Awesome Plugins

Web development tools and frameworks are aplenty, and the developers are getting spoilt for choice when it comes to picking the apt tool for work. However, amidst these options, some old-time players hold their forte well, and the user base remains intact too....

Wix Vs Wordpress: Which One to Choose For Your Business Website?
April 24, 2021 | 7 min read
Wix Vs WordPress: Which One to Choose For Your Business Website?

Trying to choose between WordPress and Wix to build a website for your new business?   Before you move forward we should warn you that our work is mostly on WordPress so our loyalties are already decided. But still, WordPress is not the only way to build a website. (Although it does power 40% of all the websites on the internet) ...

August 28, 2018 | 5 min read
7 Ways to improve your WordPress Website Security

WordPress is the most popular and widely used CMS platform powers nearly one-third of all websites in the world. Some of the key WordPress strengths like flexibility, scalability, customisation and performance have only become better over time. WordPress with frequent updates and with the value additions of a lot of security plugins and robust community […]...

Learn more about software outsourcing
#imenso

Think Big

Rated 4.7 out of 5 based on 32 Google reviews.