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. Are asp redirects permanent?

    Are asp redirects permanent?

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

      I need to redirect a windows-hosted domain with permanent (301) redirects so as to preserve most of the link juice.

      I would be using asp page-level redirects, as there are only about 50 relevant pages.

      Are these as effective as linux-based 301 redirects in conserving link juice?

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

        Yes, they are! You need to do it like this:

        <%@ Language=VBScript %>
        <%
        ' Permanent redirection
        Response.Status = "301 Moved Permanently"
        Response.AddHeader "Location",  "http://www.example.com/"
        Response.End
        %>

        If you use Response.Redirect instead of Response.Status, it won't return a 301 (permanent redirect) header, it will return a 302 (temporary redirect) header instead.

        Other permanent redirect methods are PHP, ColdFusion, Perl, and mod_rewrite. JavaScript and meta tag redirects cannot send a 301 status code.

        Hope this helps!

        Marvo 1 Reply Last reply Reply Quote 0
        • Marvo
          Marvo @TheEspresseo last edited by

          Follow up question --- not sure if I understand the entire situation discussed above, but I have a situation where a site that was ASP.net has been replaced with a WordPress site.  I've performed a Open Link analysis and found that most of the old pages, ie

          www.i3bus.com/ProductCategorySummary.aspx?ProductCategoryId=63

          are returning a HTTP Status = NO DATA ... when followed ends up at the 404 catch-all page.

          I'd like to perform 301 redirects and wondering if your solution above applies?

          Thanks for any help.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Redirect a 301 Redirect
            RedCaffeine
            RedCaffeine
            0
            5
            98

          • 301 Redirect with index.asp
            TroyW
            TroyW
            0
            37
            1.4k

          • 301 redirects reverting to 302 redirects
            Devanur-Rafi
            Devanur-Rafi
            0
            6
            532

          • If a permanent redirect is supposed to transfer SEO from the old page to the new page, why has my domain authority been impacted?
            DanielFreedman
            DanielFreedman
            0
            6
            613

          • 301 Redirect with ASP (not .NET)
            Hughescov
            Hughescov
            0
            2
            550

          • Does google "see through" php/asp redirects?
            adriandg
            adriandg
            0
            6
            633

          • Website Grader Report - Permanent Redirect Not Found
            merkal2005
            merkal2005
            0
            7
            1.5k

          • Redirect
            petrakraft
            petrakraft
            0
            9
            958

          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