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
Website Building Guide for SMBs to take the First Step into Digitization
June 30, 2022 | 10 min read
Website Building Guide for SMBs to take the First Step into Digitization

Are you a small-business owner? Do you want to reach more customers? A website with an intuitive interface is essential for small businesses, and a website can help you grow and succeed. Learn more about how a website for a business can help you rise above the rest....

March 13, 2024 | 10 min read
8 Responsive Web Design Principles You Need to Know

In today’s fast-paced digital world, where our lives are intricately intertwined with technology, the way we experience the internet has undergone a profound transformation. Consider this: did you know that as of 2021, there are over 4.6 billion active internet users worldwide, and more than half of them access the web primarily through mobile devices? […]...

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 34 Google reviews.