Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • Last Modified:

How do you set up a regular expression to map sitemap.xml to sitemap.aspx

I was wondering how you would set up a regular expression to map sitemap.xml to sitemap.aspx.
0
JDEE8297
Asked:
JDEE8297
  • 2
  • 2
1 Solution
 
aognenoffCommented:
Need some clarification on what you're asking...

What is your end result? Are you trying to take any request for sitemap.xml and make it load sitemap.aspx?  What are you trying to map this in? Some ISAPI extension for IIS?  Where are you thinking regular expressions play in this scenario?
0
 
JDEE8297Author Commented:
sorry should have given more information, i am using urlrewriter component to rewrite urls, so if someone types in sitemap.xml on our site (which is iis based) I want them to be redirected to sitemap.aspx.
0
 
aognenoffCommented:
Try this as your rule:



Not quite sure if that will work but it's worth a shot.
0
 
JDEE8297Author Commented:
thank you.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now