SEO Friendly urls not working in wordpress on IIS Server

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
WordPress Vs Magento
February 25, 2021 | 5 min read
WordPress Vs Magento – Which One to Pick For Your Ecommerce Store In 2021

While starting a new eCommerce store, one dilemma for every entrepreneur and SMB owner is, which platform to choose between WordPress and Magento. Even though there is a myriad of eCommerce services available, the final pull is between WordPress and Magento. ...

Get the Best from WordPress in 2021 Using These Awesome Plugins
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....

WordPress Essentials How to Create a WordPress Plugin
December 16, 2022 | 12 min read
WordPress Essentials: How to Create a WordPress Plugin

The first step in developing your online presence is building a website. Your website serves as both the online headquarters for your business and the basis for many of your digital marketing initiatives....

Learn more about software outsourcing
#imenso

Think Big

Rated 4.7 out of 5 based on 32 Google reviews.