[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?

URL Redirection in IIS via rewrite in web config

Posted on 2017-09-15
3
Low Priority
?
43 Views
Last Modified: 2017-10-13
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
Comment
Question by:Member_2_4897698
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Dustin Saunders
ID: 42295870
Do you have the URL rewrite module installed in your IIS?
0
 
LVL 29

Expert Comment

by:Dan McFadden
ID: 42311992
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
 
LVL 29

Expert Comment

by:Dan McFadden
Any feedback for this question?

Dan
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Join & Write a Comment

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question