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. 301 Redirect pages with .aspx extension

    301 Redirect pages with .aspx extension

    Intermediate & Advanced SEO
    5 2 1.4k
    • 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.
    • VentaMarketing
      VentaMarketing last edited by

      I want 301 redirect all a website's subpages with a .aspx extension to a page without the .aspx etension.

      Example: I want to 301 redirect www.website.com/services.aspx to www.website.com/services

      Right now if you do not include .aspx on the end of every URL it gives a 404 error.

      I have used the web.config file to 301 redirect non-www to www and /default.aspx to /.

      I am not extremely familiar with IIS 7.0 or web.config, so any help would be great.

      Thanks.

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

        Hey Max,

        Hopefully this article will be able to help...

        http://devnet.kentico.com/Knowledge-Base/API-and-Internals/How-to-set-pure-extension-less-URLs-without-suppor.aspx

        Thanks

        Iain - Reload Media

        VentaMarketing 1 Reply Last reply Reply Quote 1
        • VentaMarketing
          VentaMarketing @IainReloadMedia last edited by

          Thanks for the good article on extension less URLs. It is helpful.

          We are more accustomed to working with linux and .htaccess, so when we have to work with Microsoft and a web.config file, we always try to be very careful.

          IainReloadMedia VentaMarketing 2 Replies Last reply Reply Quote 0
          • IainReloadMedia
            IainReloadMedia @VentaMarketing last edited by

            I know that pain! I imagine the perfect world, where all clients are on Wordpress.

            Hope it goes well.

            Iain

            1 Reply Last reply Reply Quote 1
            • VentaMarketing
              VentaMarketing @VentaMarketing last edited by

              That would be the best. Those custom made CMS's can be ridiculously tricky sometimes.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • 301 Redirect to Home Page or Sub-Page?
                zeehj
                zeehj
                0
                2
                149

              • Several 301 Redirects to Same Page
                viatrading1
                viatrading1
                0
                4
                523

              • New Site (redesign) Launched Without 301 Redirects to New Pages - Too Late to Add Redirects?
                BeanstalkIM
                BeanstalkIM
                0
                8
                732

              • I've got duplicate pages. For example, blog/page/2 is the same as author/admin/page/2\. Is this something I should just ignore, or should I create the author/admin/page2 and then 301 redirect?
                BeanstalkIM
                BeanstalkIM
                0
                5
                414

              • Pages that 301 redirect to a 404
                JarnoNijzing
                JarnoNijzing
                0
                3
                137

              • Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?
                lcourse
                lcourse
                0
                5
                2.0k

              • 301 redirect subdomain to path and 301 for popular pages
                Mike.Goracke
                Mike.Goracke
                0
                2
                187

              • 301 Redirect for 2500 pages
                Anthony_Trollope
                Anthony_Trollope
                0
                2
                628

              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