The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. How can I create a redirection on IIS?

    How can I create a redirection on IIS?

    Intermediate & Advanced SEO
    3 2 490
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VipinLouka78
      VipinLouka78 last edited by

      Hi,

      I want to know how to create a server side 301 redirection on IIS7.

      I found on google the below details;

      IIS Redirect

      • In internet services manager, right click on the file or folder you wish to redirect
      • Select the radio titled "a redirection to a URL".
      • Enter the redirection page
      • Check "The exact url entered above" and the "A permanent redirection for this resource"
      • Click on 'Apply'

      But couldn't find anything like that. Can anyone help me out.

      thanks & regards

      1 Reply Last reply Reply Quote 0
      • deltasystems
        deltasystems last edited by

        Hi John!

        Are you using IIS Manager to administrate your server? If not, that's probably why the details you listed would not apply.

        If you come from a Linux background and just want to modify a file, like you would with the .htacess file, you will be editing the web config file. Microsoft has a knowledge base article (albeit short) on this at the following:

        http://blogs.msdn.com/b/wenlong/archive/2007/09/18/how-to-redirect-a-url-in-iis6-iis7-and-in-asp-net.aspx

        Let me know if you have questions. I would be happy to help further.

        Cheers!

        VipinLouka78 1 Reply Last reply Reply Quote 1
        • VipinLouka78
          VipinLouka78 @deltasystems last edited by

          Hi,

          Thanks so much Zachary. In fact I am purely from linux background. This is the first time I am dealing with IIS. let me check albiet short and IIS Manager.

          Apart from web config file, I read about global.asax file. I think these files are are used for redirecting a whole site, right?. But in my case I need to redirect some of my old html pages to aspx pages.

          best!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Can't support IE 7,8,9, 10\. Can we redirect them to another page that's optimized for those browsers so that we can have our site work on modern browers while still providing a destination of IE browsers?
            0
            1
            18

          • How can i solve this redirect chain issue?
            bilaljkdfgsaui
            bilaljkdfgsaui
            1
            5
            4.1k

          • Random post plugin creates 302 redirects. What should I do?
            Netrepid
            Netrepid
            0
            4
            125

          • How can i redirect my site to other domain ?
            Matt-Williamson
            Matt-Williamson
            0
            5
            91

          • Create a link or redirect?
            Mike.Goracke
            Mike.Goracke
            0
            7
            183

          • Can there be to many 301 redirects
            APICDA
            APICDA
            0
            6
            280

          • Redirecting, then redirecting back
            Highland
            Highland
            0
            2
            256

          • Can penalties be passed via 301 redirect?
            paulanth
            paulanth
            1
            31
            18.7k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy