experience
New member
- Joined
- Oct 1, 2009
- Messages
- 2
- Programming Experience
- Beginner
I've installed a new wordpress website and have added the following code to my web.config to redirect all urls
However it stops my .aspx web page from posting, when i click the submit button it refreshes the page
I want to exclude .aspx from the url rewrite, i've tried the adding the following without any success
Any ideas?
However it stops my .aspx web page from posting, when i click the submit button it refreshes the page
VB.NET:
<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>
I want to exclude .aspx from the url rewrite, i've tried the adding the following without any success
VB.NET:
<add input="{REQUEST_FILENAME}" negate="true" pattern="(.*).aspx" />
Any ideas?