SEO friendly URL in web.config

Writing SEO friendly url is most important for all website which host on window server. Below step is showing how to add the code in web.config file for wordpress.
In web.config file

  1. On root of hosting open web.config file with your favourite editor.
  2. then add below code
    <system.webServer>
    ...
    <rewrite>
    <rules>
    <rule name="SEO friendly URL " patternSyntax="Wildcard">
    <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>
    
  3. Save file and upload.
  4. Login into wordpress admin goto > Settings > Permalinks. Under Common settings click Post name option and click save.
  5. Now try to open site and check the urls. Hope it work.
Previous Post

Magento Optimization

Next Post

Update products prices in Magento easier way

5 comments

  1. Hello there, just became aware of your blog through Google, and found that it is really informative.

    I am gonna watch out for brussels. I’ll appreciate
    if you continue this in future. Numerous people will be benefited from your writing.

    Cheers!

  2. tattoo book says:

    My spouse and I stumbled over here from a different web
    page and thought I may as well check things out. I like what I see so i am just following you.

    Look forward to finding out about your web page again.

    1. Sequoia says:

      / Hi! I&v7218;#e been following your site for a long time now and finally got the bravery to go ahead and give you a shout out from Houston Tx! Just wanted to tell you keep up the great job!

      1. Webpioneer says:

        Thanks a lots.

  3. Very great post. I just stumbled upon your weblog and wished to say that I have really loved browsing your blog posts.

    In any case I will be subscribing in your feed and I am hoping you write once more soon!

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top