The Moz Q&A Forum

    • Forum
    • Questions
    • 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 Forum
    2. Categories
    3. SEO Tactics
    4. Local SEO
    5. Local Website Optimization
    6. Website Migration - remove unnecessary sub-folder?
    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Website Migration - remove unnecessary sub-folder?

    Local Website Optimization
    4 4 1.2k
    • 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.
    • aj613
      aj613 last edited by

      Rebuilding a site that currently has good rankings.  The original site was build in Joomla. I am doing the rebuild on WordPress.  The old site is at the domain www.savannah-dentist.com, but clicking on any link generates a url with a subfolder; i.e. the website is at www.savannah-dentist.com, click on the logo and you will go to www.savannah-dentist.com/rosenthal/, the "meet the doctors" link goes to "www.savannah-dentist.com/rosenthal/meet-the-doctors"

      When I rebuild the site, do I have to retain that url structure?

      If I get rid of the folder and make everything simply like www.savannah-dentist.com/meet-the-doctors, will I be jeopardizing our rankings?

      Thanks!

      -Adam

      1 Reply Last reply Reply Quote 0
      • David-Kley
        David-Kley last edited by

        301 the old links to the new linking structure. If it is already a high ranking page, the link weight should carry through.

        Since it already ranks high, I would keep as many elements as you can the same, unless they dont rank well and need to be improved. Make sure to do a site search for indexed pages, and redirect or create a removal request for any unatural cms-generated links. (component/SAMPLE/123456 etc)

        DO NOT just delete the entire folder without seeing how many on page links still link to those pages. Check your on-page links to see if it is generated by the menu system, or if is hard-coded in the content.

        Wordpress also has a few items you will want to change in the robots.txt file vs the old Joomla site.

        User-agent: *
        Disallow: /feed/
        Disallow: /trackback/
        Disallow: /wp-admin/
        Disallow: /wp-content/
        Disallow: /wp-includes/
        Disallow: /xmlrpc.php
        Disallow: /wp-
        Allow: /wp-content/uploads/
        Sitemap: http://example.com/sitemap.xml
        Disallow: /wp-content/plugins

        or you could also use this one:

        User-agent: *
        Disallow: /cgi-bin/
        Disallow: /wp-admin/
        Disallow: /wp-includes/
        Disallow: /wp-content/
        Disallow: /archives/ disallow: /?
        Disallow: ?replytocom Disallow: /wp-
        Disallow: /author
        Disallow: /comments/feed/
        User-agent: Mediapartners-Google*
        Allow: /
        User-agent: Googlebot-Image
        Allow: /wp-content/uploads/
        User-agent: Adsbot-Google
        Allow: /
        User-agent: Googlebot-Mobile
        Allow: /

        Hope this helps! Best of luck with your new build.

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

          If the folder is there for no reason, get rid of it.  Rewrite out the entire directory.  Try this:

          In the .htaccess add:

          Options +FollowSymLinks -MultiViews

          Turn mod_rewrite on

          RewriteEngine On
          RewriteBase /

          RewriteRule ^rosenthal/(.*)$ /$1 [L,NC,R=301]

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

            You can 301 to any place, so if it's beneficial to change the structure the site, now's the time to do it.  Beware though, when you change the structure of the website, and are placing pages in different folders, you're changing the URL, so it will affect your ranking, hopefully for the positive.   I think what you're proposing would be an improvement.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Got a burning SEO question?

            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


            Start my free trial


            Explore more categories

            • Moz Tools

              Chat with the community about the Moz tools.

              Getting Started
              Moz Pro
              Moz Local
              Moz Bar
              API
              What's New

            • SEO Tactics

              Discuss the SEO process with fellow marketers

              Content Development
              Competitive Research
              Keyword Research
              Link Building
              On-Page Optimization
              Technical SEO
              Reporting & Analytics
              Intermediate & Advanced SEO
              Image & Video Optimization
              International SEO
              Local SEO

            • Community

              Discuss industry events, jobs, and news!

              Moz Blog
              Moz News
              Industry News
              Jobs and Opportunities
              SEO Learn Center
              Whiteboard Friday

            • Digital Marketing

              Chat about tactics outside of SEO

              Affiliate Marketing
              Branding
              Conversion Rate Optimization
              Web Design
              Paid Search Marketing
              Social Media

            • Research & Trends

              Dive into research and trends in the search industry.

              SERP Trends
              Search Behavior
              Algorithm Updates
              White Hat / Black Hat SEO
              Other SEO Tools

            • Support

              Connect on product support and feature requests.

              Product Support
              Feature Requests
              Participate in User Research

            • See all categories

            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

            Looks like your connection to Moz was lost, please wait while we try to reconnect.