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. Changing all urls

    Changing all urls

    Technical SEO Issues
    4 2 216
    • 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.
    • DoMiSoL
      DoMiSoL last edited by

      A client of mine has a wordpress website that is installed in a directory, called "site".

      So when you go to www.domain.com you are redirected to www.domain.com/site.

      We all know how bad it is to have a redirect fron your subdomain to another page. In this case I measured a loss of 5 points of page authority.

      The question is: what is the best practice to remove the "site" from the address and changing all the urls?

      • Should I use the webmaster tool to tell to Google that the site is moving? It's not 100% true, cause the site is just moving one level up.
      • Should I install a copy of the website under www.domain.com and just redirect 301 every old page to its new url? This way I think the site would be deindexet for 2/3 months.

      Any suggestions or tips welcome!

      Thanks DoMiSol

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

        I believe you will be best to do two things:

        1. put in place a global 301 rule to redirect any URL with /site/ in it to the same without /site/. If the site is hosted on Apache this is relatively easy to do in htaccess if you get your commands right. You can destroy a site if you're not careful though...so take care. If you don't know htaccess find someone close by who does!
        2. re-configure the root directory of the domain on the server to point at the sub-directory directly. Using e.g. Plesk and command line this is pretty trivial to do. This will have the effect of the server retrieving content directly from the sub-directory...if you set it up correctly it will be as if /site/ doesn't exist.

        You will need to do these both at the same time, and assuming you get it all right there shouldn't be any interruption in service, although there will be a period when a mixture of /site/ and non-/site/ URLs are indexed.

        Installing another copy of the site is fraught with risk as you could end up with a serious duplicate content problem, ranking drops etc....far simpler to reconfigure the server and domain.

        DoMiSoL 1 Reply Last reply Reply Quote 2
        • DoMiSoL
          DoMiSoL @NCMM last edited by

          Thank you Nick.

          I have 2 more questions:

          1. Do you think that doing this I risk any ranking drop? If so, how big and for how long?

          2. Will Wordpress internal links work just the same? I mean should I only strip the "site" from the Wordpress URL in the General Settings of Wordpress?

          Thank you again,

          DoMiSol

          NCMM 1 Reply Last reply Reply Quote 0
          • NCMM
            NCMM @DoMiSoL last edited by

            A pleasure! In answer to your questions:

            1. there is a slight risk of a temporary blip, but assuming you do everything correctly at the same time, the transfer should be seamless and any ranking changes minimal and very temporary.
            2. Not as far as I know. Changing the permalink structure doesn't cause 301-redirects to be put in place so you will need to do that separately. You could do that in the htaccess file or you could use a plug-in. We like to use John Godley's Redirection Plug-In or there is another here.

            Best of luck.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Problem with regional URL. From regional to international SEO. I need to change the URL
              sara.biowatch
              sara.biowatch
              0
              6
              64

            • Category URL Pagination where URLs don't change between pages
              whiteonlySEO
              whiteonlySEO
              0
              7
              656

            • Should I change or redirect this URL?
              KempRugeLawGroup
              KempRugeLawGroup
              0
              6
              115

            • We have designed a new site and are in dilemna whether or not to change the site's URL structure or maybe few odd looking urls. How exactly do we go about the URL thing in toto? thanks in advance, any suggestion(s) would be dearly welcome
              ShaunPhilips
              ShaunPhilips
              1
              7
              109

            • Changed URL of all web pages to a new updated one - Keywords still pick the old URL
              danatanseo
              danatanseo
              0
              2
              331

            • How to keep a URL social equity during a URL structure/name change?
              OlegKorneitchouk
              OlegKorneitchouk
              0
              4
              464

            • Changing url structure
              RyanKent
              RyanKent
              0
              5
              971

            • URLs: To Change or Not to Change
              94501
              94501
              0
              8
              1.2k

            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