Support » Fixing WordPress » Help with Permalinks / URL Re-Writing on IIS7

  • Hi,
    I’m moving my existing old blog over to WordPress and would like to ensure I don’t lose traffic to old URLS.

    My existing URL structure is:

    Pages / Posts:

    I have set wordpress up as follows:

    Pages / Posts:

    with the following code in the web.config file:

    <rule name="wordpress" patternSyntax="Wildcard">
    					<match url="*"/>
    							<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
    							<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
    					<action type="Rewrite" url="index.php"/>

    and that works fine.

    My question is, using the web.config file how do I redirect

    Category: to Category: – i.e lose the /index.asp on the end.

    I have a ton of backlinks to the /index.asp pages and really would like to do a re-write rather than lose all of this.


  • The topic ‘Help with Permalinks / URL Re-Writing on IIS7’ is closed to new replies.