Messy older site
-
I am taking over a website that doesn't have any canonical tags and spotty redirects. It looks like they have http://, https://, www and non-www pages indexed but GA is just set up for the http://non-www home page. Should all versions of the site be set up in GA and Search Console? I think so but wanted to confirm. Thanks in advance.
-
If the GA tracking code is on the website, then it will capture the traffic regardless of whether GA is setup with the http or https version of the site.
You might also find this MOZ Question and its answers useful:
-
Thanks for your help. We are going to move the site and set up the architecture correctly but before we do that we need to find the top pages (which have the most page views) on Google Analytics but I can't figure out if GA is capturing all of the different variations of the pages. Does anyone know how I would do this?
-
I would also recommend setting up all versions under Search Console (http, https, www, non-www, and domain property) as this gives you good insight into each version and how it's performing in SERPs, what pages are indexed, in addition to what domains are linking to each version.
You can use the domain property to see how the website is performing as a whole, or you can drill down to each version to see how (and if) it's ranking and/or indexed.
-
Before you get into the GA stuff, focus on fixing the core site architecture. Use htaccess rules to force your website to only render a single version of your http, https, www, non-www versions. You can either pick a favorite, or do a google search for the website name and see which version Google prioritizes and go with that. Of course https is always recommended over just http.
Now that your site has a preferred version that the server forces it to, modify your existing Google Analytics profile to match just that version. This way you can keep all your GA history.
Search console is a bit weird in that it may ask you to verify both the www and non-www versions of the website, which is recommended since subdomains can be different sites. You can then set the preferred version in Search Console.
Hope that helps!
Adam
https://odd.dog
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
We are migrating a site and are seeing alot of 301s and 302s already in the old site is it ok to leave those as is?
For the 3xx’s I’m not sure if it’s okay for us to redirect to these so please advise on that
Technical SEO | | lina_digital0 -
Tips to promote hotels site ?
I made site to book hotels: http://bilodeals.com/ any tips to promote him and get huge traffic ?
Technical SEO | | coinvideos80 -
Site Redesign: 302 Query
Hi there, We'll be redesigning our website www.example.com and as such want to 302 users from www.example.com and all other pages to a new URL www.example.com/landingpage while we go through the redesign. The new landing page will have copy and a sign up form on it and once the redesign is completed, we plan on removing the 302 and sending all traffic back to the original url www.example.com. I'd just like to check that a 302 is the most relevant option here? Obviously, once redesign is completed we'll 301 any old URLs to their new locations once completed.
Technical SEO | | Hemblem0 -
What should I do with URLs that cause site map errors?
Hi Mozzers, I have a client who uses an important customer database and offers gift cards via https://clients.mindbodyonline.com located within the navigation which causes sitemap errors whenever it is submitted since domain is different. Should I ask to remove those links from navigation? if so where can I relocate those links? If not what should I do to have a site map without any errors? Thanks! 1n16jlL.png
Technical SEO | | Ideas-Money-Art0 -
Dev Site Was Indexed By Google
Two of our dev sites(subdomains) were indexed by Google. They have since been made private once we found the problem. Should we take another step to remove the subdomain through robots.txt or just let it ride out? From what I understand, to remove the subdomain from Google we would verify the subdomain on GWT, then give the subdomain it's own robots.txt and disallow everything. Any advice is welcome, I just wanted to discuss this before making a decision.
Technical SEO | | ntsupply0 -
Shutting down a site, where do I 301 it?
I'm working with a few international sites that we are going to collapse into one main site. Our current plan is to 301 the 4 other sites into our main site home page. Is this ok? Is there a better way to do this? Thanks
Technical SEO | | MarloSchneider0 -
Google and QnA sites
My website has a QnA site - a bit like this one except it's not private to premium members. It is a page with a left colomn for category links and it has a list of recently asked questions, each question is a link to view the full question and answers etc. Does google know this is a QnA ? Or will it say - hey, there are far too many links on this page, tut tut. Is there anything I can do to help it understand what the page is.
Technical SEO | | borderbound0 -
What pages of my site does Google rank as the most important?
If I type site:youtube.com into Google, are the results listed by what Google considers to be the most important pages of the site? If I change my sitemap should this order change? Thanks!
Technical SEO | | Seaward-Group0