views:

27

answers:

0

Hello, I am new to the windows web server and have not the knowledge of syntax for web.config file.

We have under Windows IIS7 an Wordpress installation and for that wordpres generated few lines for a web.config file. Here is the content of the web.config file:

1.with this content our /stats directory and Webstats is no more accessible - we are getting an error 500. In the stats directory is dynamically generated the reports and an index.php file is in this directory which points to the other files in the directory.

2.we need more rules to create some permanent redirect 301 for the following subfiles:

domain.com/article-details.php --------->>>>> domain.com and domain.com/content.php --------->>>>> domain.com

This two points we need some help.

If I use one of the examples above - I am getting an error 500.

The web.config file from wordpress is working, but our /stats directory is no more accessible - we get an error 500.

So has anyone an idea how to change the rules that the /stats directory is accessible? And if possible, how to add other rules to setup few permanent redirects?