Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Open
  • Priority: Low
  • Security: Public
  • Views: 77
  • Last Modified:

URL Redirection in IIS via rewrite in web config

I am trying to redirect a URL from http://www.rudythecarguy.com/ApplyNow.com to http://www.rudythecarguy.com/ApplyNow. I added the rewrite section below to the system.webserver section of the web.config, but it doesn't work. Is there a kind soul out there who can shed some light on this darkness?
Thank you.
 <rewrite>
      <rules>
        <rule name="RudyRedirect" stopProcessing="true">
          <match url="www.rudythecarguy.com/ApplyNow.com" />
          <action type="Redirect" url="www.rudythecarguy.com/ApplyNow" redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
0
Member_2_4897698
Asked:
Member_2_4897698
  • 2
3 Comments
 
Dustin SaundersDirector of OperationsCommented:
Do you have the URL rewrite module installed in your IIS?
0
 
Dan McFaddenSystems EngineerCommented:
Please run the follow command from a PowerShell console prompt?

Get-WindowsFeature | ? Name -like "Web*"

Open in new window


Then post the output of the command.  This will show all the IIS features that are currently installed on the server.

Dan
0
 
Dan McFaddenSystems EngineerCommented:
Any feedback for this question?

Dan
0

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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