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. Redirecting old html site to new wordpress site

    Redirecting old html site to new wordpress site

    Technical SEO Issues
    3 2 326
    • 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.
    • briandee
      briandee last edited by

      Hi

      I'm currently updating an old (8 years old) html site to wordpress and about a month ago I redirected some url's to the new site (which is in a directory) like this...

      Redirect 301 /article1.htm http://mysite.net/wordpress/article1/
      Redirect 301 /article2.htm http://mysite.net/wordpress/article2/
      Redirect 301 /article3.htm http://mysite.net/wordpress/article3/

      Google has indexed these new url's and they are showing in search results. I'm almost finished the new version of site and it is currently in a directory /wordpress  I intend to move all the files from the directory to the root so new url when this is done will be http://mysite.net/article1/  etc

      My question is - what to I do about the redirects which are in place - do I delete them and replace with something like this?

      Redirect 301 /wordpress/article1/ http://mysite.net/article1/
      Redirect 301 /wordpress/article2/ http://mysite.net/article2/
      Redirect 301 /wordpress/article3/ http://mysite.net/article3/

      Appreciate any help with this

      1 Reply Last reply Reply Quote 0
      • Andy-Halliday
        Andy-Halliday last edited by

        Edit your existing ones change to:

        Redirect 301 /article1.htm http://mysite.net/article1/
        Redirect 301 /article2.htm http://mysite.net/article2/
        Redirect 301 /article3.htm http://mysite.net/article3/

        but also add in:

        Redirect 301 /wordpress/article1/ http://mysite.net/article1/
        Redirect 301 /wordpress/article2/ http://mysite.net/article2/
        Redirect 301 /wordpress/article3/ http://mysite.net/article3/

        There is a plugin in wordpress for 301 redirects and it tells you how many times the urls have been hit, if say after 6 months nothing has hit the old urls and there are no links pointing to them, feel free to delete.

        Thanks

        Andy

        briandee 1 Reply Last reply Reply Quote 1
        • briandee
          briandee @Andy-Halliday last edited by

          Thanks Andy

          Will try that

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Moving site from html to Wordpress site: Should I port all old pages and redirect?
            Linda-Vassily
            Linda-Vassily
            0
            2
            56

          • Site address change: new site isn't showing up in Google, old site is gone.
            GlobeRunner
            GlobeRunner
            0
            5
            107

          • Redirecting old domain to new domain with wordpress
            bobrock4
            bobrock4
            0
            4
            277

          • Best practice for eCommerce site migration, should I 301 redirect or match URLs on new site
            Jinx14678
            Jinx14678
            0
            4
            1.2k

          • Is 301 redirecting all old URLS after a new site redesign to the root domain bad for SEO?
            Vahe.Arabian
            Vahe.Arabian
            0
            12
            2.6k

          • New project old domain should I 301 redirect while new sites built
            MikeDelaCruz77
            MikeDelaCruz77
            0
            3
            346

          • If I redirect my WordPress blog to my main site, will it help my main site's SEO?
            AspenFasteners
            AspenFasteners
            0
            3
            869

          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