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 under https://vacationpackagestogo.com and for that wordpress generated few lines for a web.config file.
Here is the content of the web.config file:
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”wordpress” 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>
</configuration>
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.html 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:
https://vacationpackagestogo.com/article-details.php ———>>>>> https://vacationpackagestogo.com
and
https://vacationpackagestogo.com/content.php ———>>>>> https://vacationpackagestogo.com
This two points we need some help.