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. On-Page / Site Optimization
    4. Apache Rewrite to remove page name extensions

    Apache Rewrite to remove page name extensions

    On-Page / Site Optimization
    5 2 415
    • 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.
    • TRICORSystems
      TRICORSystems last edited by

      If I use Apache Rewrite to remove my file extensions from my pages will Google view those pages as new? Do I have to also 301 redirect from the "page-name.htm" to "page-name"?

      I'd like to change my pages from html to php to make my life a little easier but I'm worried about losing link juice if I were to 301 on every page.

      Thanks

      -Brandon

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

        Hi,

        As stated here

        http://www.seomoz.org/learn-seo/redirection

        Using 301 redirect will preserve over 90% of your link juice. Give Google some time and it should pick up new page locations depending on your crawl rate.

        As for seeing pages as new content, based on my short experience there is a period where Google will display new urls as new pages, but after a while he will realize that they have just moved. I'm not sure if there is a way to avoid this.

        Kind regards

        TRICORSystems 1 Reply Last reply Reply Quote 1
        • TRICORSystems
          TRICORSystems @Yanbo last edited by

          Hi Bojan,

          One thought I had was to create new php pages, keeping the same page name but using Apache to Rewrite the php to htm.

          Any thoughts on this as an option?

          -Brandon

          Yanbo TRICORSystems 2 Replies Last reply Reply Quote 0
          • Yanbo
            Yanbo @TRICORSystems last edited by

            Sounds good to me, but I prefer page names without extension.

            You won't need 301 then, since you will keep old URLs and there won't be that short period of time when Google might possible see "duplicate" pages.

            If you need help with Apache configuration let me know.

            Kind regards

            Bojan

            1 Reply Last reply Reply Quote 0
            • TRICORSystems
              TRICORSystems @TRICORSystems last edited by

              Great!

              Thanks, I may take you up on that!

              -Brandon

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Should I remove a high traffic page on my website?
                Cabaretti
                Cabaretti
                0
                4
                69

              • Site name in page title - leave it or remove it?
                Kelly-Anne
                Kelly-Anne
                1
                4
                124

              • Snippet showing as domain name with apostrophe, instead of page title when searching for the domain name.
                K3v1n
                K3v1n
                0
                5
                366

              • Removing & redirecting old pages
                Dan-Lawrence
                Dan-Lawrence
                0
                3
                57

              • Removing old URLs that are being used for my on page optimization?
                JoelDay
                JoelDay
                0
                6
                337

              • Removing OLD pages
                SharewarePros
                SharewarePros
                0
                3
                236

              • URL extensions naming
                Johnny4B
                Johnny4B
                0
                4
                511

              • Meta name and other data on home page
                RyanKent
                RyanKent
                0
                2
                329

              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