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
8 Responsive Web Design Principles You Need to Know
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? […]...

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) ...

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. ...

Learn more about software outsourcing
#imenso

Think Big

Rated 4.7 out of 5 based on 34 Google reviews.