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. Link Building
    4. Changing url from non www to www.

    Changing url from non www to www.

    Link Building
    17 3 4.6k
    • 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.
    • FLEAR
      FLEAR @SEODinosaur last edited by

      settings > general settings

      wordpress url: http://onestopmuscle.co.uk

      site address url: http://onestopmuscle.co.uk

      So if i change both to have www. it wont cause any problems with the site content on there already? I'm sure I did this before and i couldn't even log into the site! ( old site ).

      GeorgeAndrews FLEAR SEODinosaur 4 Replies Last reply Reply Quote 1
      • GeorgeAndrews
        GeorgeAndrews last edited by

        In the Wordpress admin area, under General Settings, there is a input for WordPress Address (URL). Here, you can set the URL you would like to use for your base URL (e.g. http://www.example.com/). If you use www. here, your pages should use the www. version.

        Hope this helps!

        FLEAR 1 Reply Last reply Reply Quote 0
        • GeorgeAndrews
          GeorgeAndrews @FLEAR last edited by

          Hi Scott, yes, this should be correct. After updating this value, you may need to log back in to continue using the admin area. This is because you are likely logged in at the old sub-domain of simply onestopmuscle.co.uk rather than the new sub-domain of www.onestopmuscle.co.uk and with the new redirect, you have to log in again. It's kind of strange behavior I know :).

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

            do i change the site address url to include www. also? or just the wordpress url part? thanks for the help!

            1 Reply Last reply Reply Quote 0
            • SEODinosaur
              SEODinosaur @FLEAR last edited by

              Exactly, and as George said :   "you are likely logged in at the old sub-domain of simply onestopmuscle.co.uk rather than the new sub-domain of www.onestopmuscle.co.uk"

              1 Reply Last reply Reply Quote 0
              • SEODinosaur
                SEODinosaur @FLEAR last edited by

                The wordpress which is the site.

                1 Reply Last reply Reply Quote 0
                • FLEAR
                  FLEAR @GeorgeAndrews last edited by

                  have changed it to include www. but it still redirects to onestopmuscle.co.uk ( without the www ) :@. this is soo annoying and I know it is probably such a simple fix.

                  SEODinosaur FLEAR GeorgeAndrews 8 Replies Last reply Reply Quote 0
                  • SEODinosaur
                    SEODinosaur @FLEAR last edited by

                    Do you have anything redirecting in your htaccess file? It could be that or it could be on the hosting end...

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

                      tried going into filezilla, cannot find a .htaccess file. I will phone up my hosting.

                      thanks

                      1 Reply Last reply Reply Quote 0
                      • GeorgeAndrews
                        GeorgeAndrews @FLEAR last edited by

                        Edit: just saw you have already checked with FileZilla. I've created a new htaccess file and pasted in what Wordpress provides as an example then uploaded the new htaccess file to fix this on other sites.

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

                          so i create a .htaccess file, get all the right code for the redirects. upload that .htaccess file to the index.php file? I'll phone my hosting tomorrow see if they can sort it, but thanks everyone who has responded helped a lot.

                          1 Reply Last reply Reply Quote 0
                          • SEODinosaur
                            SEODinosaur @FLEAR last edited by

                            No prob : ) Let us know how it works out..

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

                              hey guys, finally had the balls to change the site url on the wordpress backend to contain www. ( did it on a old site and it messed it up ) and that worked!! Strange tho seems all my social media likes and shares have gone from the site, everything is at zero... not sure why maybe google needs to index all the pages again?

                              I do have more links and more page authority with www. than without, so im hoping its a good move.

                              1 Reply Last reply Reply Quote 0
                              • GeorgeAndrews
                                GeorgeAndrews @FLEAR last edited by

                                Excellent news that you were able to get it to work.

                                I'd say yes your social media links have zeroed out because they used the old URL without the www. It's not a Google thing though and won't be fixed by re-indexing the site. However, my understanding is that Wordpress 301 redirects the links from the non-www URL to the www URL so your link juice should still flow to the new URLs and the shared links will still resolve to the right page. The only caveat is that the actual number for likes and shares in your social share buttons has reset to 0.

                                In my opinion, it's a good move (you're just missing the "eye-candy" for now) and this number will rise again as people begin to share using the new URLs.

                                1 Reply Last reply Reply Quote 1
                                • SEODinosaur
                                  SEODinosaur @FLEAR last edited by

                                  I agree with George _"Wordpress 301 redirects the links from the non-www URL to the www URL so your link juice should still flow to the new URLs and the shared links will still resolve to the right page" _in the long run this will conserve you link juice.

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  • Domain with WWW or without WWW Backlinks
                                    BlueprintMarketing
                                    BlueprintMarketing
                                    0
                                    2
                                    188

                                  • Www and non www site
                                    Dalessi
                                    Dalessi
                                    0
                                    3
                                    102

                                  • Url and url structure and Focus keyword
                                    Moreleads
                                    Moreleads
                                    0
                                    6
                                    320

                                  • Has anything changed www vs non www
                                    kchandler
                                    kchandler
                                    0
                                    2
                                    108

                                  • Losing the WWW?
                                    greenhornet77
                                    greenhornet77
                                    0
                                    3
                                    240

                                  • How to find all banklinks for a URL that forwards to a main URL
                                    realpage
                                    realpage
                                    0
                                    4
                                    549

                                  • Non www indexed, will this effect rankings?
                                    PeterAlexLeigh
                                    PeterAlexLeigh
                                    0
                                    5
                                    792

                                  • Should I use a branded url or an exact match, and which branded url?
                                    SparkplugDigital
                                    SparkplugDigital
                                    0
                                    2
                                    611

                                  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

                                  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