undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    Let your reputation grow with Reviews AI
    Moz Local

    Let your reputation grow with Reviews AI

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

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. Home
  2. SEO Tactics
  3. Link Building
  4. Changing url from non www to www.

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.

Changing url from non www to www.

Link Building
3
17
6.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • FLEAR
    FLEAR last edited by Aug 29, 2012, 12:36 PM

    basically I have realised i have more page authority and links going to www.onestopmuscle.co.uk instead of onestopmuscle.co.uk. I use wordpress and have no clue how to make sure onestopmuscle.co.uk redirects to www. version.

    anyone have any ideas? I don't want to mess about with files or i'll most likely make the blog into a disaster.

    1 Reply Last reply Reply Quote 0
    • SEODinosaur
      SEODinosaur @FLEAR last edited by Aug 29, 2012, 6:13 PM Aug 29, 2012, 6:13 PM

      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
      • GeorgeAndrews
        GeorgeAndrews @FLEAR last edited by Aug 29, 2012, 5:27 PM Aug 29, 2012, 5:26 PM

        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
        • FLEAR
          FLEAR @FLEAR last edited by Aug 29, 2012, 4:45 PM Aug 29, 2012, 4:45 PM

          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
          • SEODinosaur
            SEODinosaur @FLEAR last edited by Aug 29, 2012, 4:22 PM Aug 29, 2012, 4:22 PM

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

            1 Reply Last reply Reply Quote 0
            • FLEAR
              FLEAR @FLEAR last edited by Aug 29, 2012, 4:16 PM Aug 29, 2012, 4:16 PM

              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
              • GeorgeAndrews
                GeorgeAndrews @FLEAR last edited by Aug 29, 2012, 2:11 PM Aug 29, 2012, 2:06 PM

                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 Aug 29, 2012, 1:47 PM Aug 29, 2012, 1:47 PM

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

                  thanks

                  1 Reply Last reply Reply Quote 0
                  • SEODinosaur
                    SEODinosaur @FLEAR last edited by Aug 29, 2012, 1:43 PM Aug 29, 2012, 1:42 PM

                    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 @GeorgeAndrews last edited by Aug 29, 2012, 1:25 PM Aug 29, 2012, 1:25 PM

                      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 Aug 29, 2012, 6:13 PM Reply Quote 0
                      • SEODinosaur
                        SEODinosaur @FLEAR last edited by Aug 29, 2012, 1:06 PM Aug 29, 2012, 1:06 PM

                        The wordpress which is the site.

                        1 Reply Last reply Reply Quote 0
                        • SEODinosaur
                          SEODinosaur @FLEAR last edited by Aug 29, 2012, 1:04 PM Aug 29, 2012, 1:04 PM

                          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
                          • FLEAR
                            FLEAR @FLEAR last edited by Aug 29, 2012, 1:04 PM Aug 29, 2012, 1:04 PM

                            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
                            • GeorgeAndrews
                              GeorgeAndrews @FLEAR last edited by Aug 29, 2012, 12:59 PM Aug 29, 2012, 12:59 PM

                              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
                              • GeorgeAndrews
                                GeorgeAndrews last edited by Aug 29, 2012, 12:56 PM Aug 29, 2012, 12:56 PM

                                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 Aug 29, 2012, 1:25 PM Reply Quote 0
                                • FLEAR
                                  FLEAR @SEODinosaur last edited by Aug 29, 2012, 12:51 PM Aug 29, 2012, 12:51 PM

                                  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 Aug 29, 2012, 1:06 PM Reply Quote 1
                                  • SEODinosaur
                                    SEODinosaur last edited by Aug 29, 2012, 12:46 PM Aug 29, 2012, 12:46 PM

                                    Since its wordpress you can do it in the wordpress settings back end.

                                    FLEAR 1 Reply Last reply Aug 29, 2012, 12:51 PM Reply Quote 0
                                    • 1 / 1
                                    1 out of 17
                                    • First post
                                      1/17
                                      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


                                    Browse Questions

                                    Explore more categories

                                    • Moz Tools

                                      Chat with the community about the Moz tools.

                                    • SEO Tactics

                                      Discuss the SEO process with fellow marketers

                                    • Community

                                      Discuss industry events, jobs, and news!

                                    • Digital Marketing

                                      Chat about tactics outside of SEO

                                    • Research & Trends

                                      Dive into research and trends in the search industry.

                                    • Support

                                      Connect on product support and feature requests.

                                    • See all categories

                                    Related Questions

                                    • Mr.Suren

                                      What Should be the URL of third party blog for my website

                                      Hi All, What Should be the URL of third party blog for my website. Lets say if i have a website xyz.com (which provide pest control services in New York City) and I want to create third party blogs on platforms like blogspot, weebly etc so should i create the blog url as xyz.blogspot.com or i can use a keyword in the blog URL such as pestcontrolnyc.blogspot.com? Which URL would be the best as per Google's guidelines. Note: I have already have a blog within the domain as xyz.com/blog/ and i do weekly posting on this blog. But at the same time i want to create 1-2 third party blogs to get some backlinks from other sources.

                                      Link Building | Jul 21, 2017, 7:00 PM | Mr.Suren
                                      0
                                    • richdan

                                      What are he benefits of getting 200+ links from DA 40+ non-relevant websites?

                                      I have a client who has an opportunity to sponsor a prestigious national organisation. In return, they will get 200+ links from the websites of the organisation's members. Most of which are DA 40+.None of the linking sites have any relevance to my client's industry.1) How likely do you think it is that Google will view these as paid links?2) Do you feel that there is potential harm in gaining this many non-relevant links in a short time-frame?3) The client wants me to quantify the ranking benefits of gaining these links and calculate a potential ROI. If that's even possible, how would you go about that?Thanks in advance

                                      Link Building | Mar 31, 2016, 10:45 AM | richdan
                                      2
                                    • Gokart

                                      Redirect from a previous url

                                      Hi - newbie question I have a customer who's had previous versions of his website. Previously it was known as "princess-interiors.co.uk" (been around for a few years) and is now "princess-design.co.uk" (been around also for a few years). New site is WordPress - what would be the best way to redirect (I have access to the previous version of the site which is still hosted). I expect it's to use 301, but how would I do that (step by step), and does www. versus non-www need addressing (and how). Really concerned, as this site has gone to zero organic visits!! Hoping somebody can help. Thanks

                                      Link Building | Aug 24, 2015, 11:07 PM | Gokart
                                      0
                                    • rflores

                                      Does a text URL (without hyperlink) provide any SEO value?

                                      Our clients use the link shortener of our service software to share their job offers. Sometime the job baords they post to do not allow hyperlink and thus post the url as text only. Do these url texts offer any benfits in terms of SEO?

                                      Link Building | Nov 5, 2014, 8:45 PM | rflores
                                      0
                                    • danielpett

                                      Adding keyword to your url

                                      Couldn't find the answer to my question anywhere so I'll give it a try here. If you have a site called www.example.com, and then want to add a keyword to this site, like this: www.example.com/keyword How do you add a keyword to your url like this? Without making the URL with the keyword your "main" URL, meaning you don't have to enter the keyworded URL to get to the homepage (www.example.com), and still rank better on the keyword put in the url. I'm a bit confused on the subject, would love for someone to help me understand! Thanks.

                                      Link Building | Oct 15, 2013, 5:59 PM | danielpett
                                      0
                                    • SEOQuest72

                                      Is www.indexkings.com safe to use?

                                      Does anyone know if www.indexkings.com is a safe site to use to index a url in the eyes of Google?

                                      Link Building | Nov 17, 2012, 3:46 PM | SEOQuest72
                                      0
                                    • Modbargains

                                      Shortened url vs. anchor text

                                      Are there any benefits to linking a shortened url vs. an anchor text when I am link building?Would linking via shortened link such as tinyurl cause problems with SERPS? Also, would it be more beneficial to short link to the homepage or landing page?

                                      Link Building | Mar 5, 2012, 9:01 PM | Modbargains
                                      0
                                    • clickangel

                                      Changing backlinks anchor text

                                      Hi, I've read a few blog post here that suggests the strength of building links using your brand as an anchor text. This supposedly gives the site authority. Currently a chunck of the back links to my homepage are on generic terms i'm trying to rank for which doesn't seem to be working very well. I was thinking of contacting the various webmasters to change the anchor text to that of the site brand name but wondering if this will signal a manipulation of links to the search engines and potentially could be flagged as paid links? Has anybody done this before and what is the danger of doing this? Thanks Duke

                                      Link Building | Dec 12, 2011, 7:16 PM | clickangel
                                      0

                                    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 - 2025 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.