add custom post type to web.config
Posted on 2014-01-30
I have a problem with permalinks:
I have 2 sites with permalink sets to the "pretty" post-name settings for exaple:
i am on windows servers on both sites so I updated the web.config file as suggested all over the internet, posts and pages works as expected, but on both sites i have custom post types and eg.
I know that wordpress and windows servers are not working together all so good, but it is what my customers wants.
i suppose I must add some sort of rewite to the web.config, but i dont know how, can someone can help with the sample code for it.