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. Technical SEO Issues
    4. Windows IIS 7 Redirect Question

    Windows IIS 7 Redirect Question

    Technical SEO Issues
    3 3 494
    • 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.
    • JordanJudson
      JordanJudson last edited by

      I want to redirect the following 4 pages to the home page:

      • http://www.phbalancedpool.com/pool-repair/pool_repair_arizona.html
      • http://www.phbalancedpool.com/About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html
      • http://www.phbalancedpool.com/specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html
      • http://www.phbalancedpool.com/service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html

      This is what I am currently using for my Web.config file:

      <configuration></configuration>

      <match url=".*"></match>

      <add input="{HTTP_HOST}" pattern="^phbalancedpool.com$"></add>

      <action type="Redirect" url="http://www.phbalancedpool.com/{R:0}"  <="" span="">redirectType="Permanent" /></action>

      <location path="pool-repair/pool_repair_arizona.html"></location>

      <location path="About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html"></location>

      <location path="specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html"></location>

      <location path="service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html"></location>

      Only the first one is actually redirecting and I can't figure out why. What do I need to do to fix this?

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

        Ifyou are still stuck, maybe http://www.seomoz.org/users/profile/211048 is your best bet. Try IM him, hes about the only SEO + IIS guy around here 😉

        have alook through his old youmoz posts, I know he has done some on this topic

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

          If you want to Redirect via Windows 7 IIS so just follow some steps.

          <configuration></configuration>

          <match url=".*"></match>

          <add input="{HTTP_HOST}" pattern="^phbalancedpool.com$"></add>

          <action type="Redirect" url="http://www.phbalancedpool.com/{R:0}"  redirecttype="Permanent"></action>

          <location path="pool-repair/pool_repair_arizona.html"></location>

          <location path="About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html"></location>

          <location path="specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html"></location>

          <location path="service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html"></location>

          Also Downlaod Directx 12 for graphics then redirect it.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • I have a question about the impact of a root domain redirect on site-wide redirects and slugs.
            Xiano
            Xiano
            0
            2
            72

          • 301 Redirect Question
            RobCairns
            RobCairns
            0
            3
            131

          • 301 redirect question
            TheeDigital
            TheeDigital
            0
            5
            128

          • Redirect Question
            Ray-pp
            Ray-pp
            0
            2
            67

          • .htaccess redirect question
            David-Kley
            David-Kley
            0
            4
            541

          • Questions about Redirects
            csmm
            csmm
            0
            4
            345

          • Redirect Question
            KeriMorgret
            KeriMorgret
            1
            5
            322

          • 301 Redirect Question
            Yo_Adrian
            Yo_Adrian
            0
            3
            433

          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