Campaign Domain "change" (www. vs no www.)
-
Hello,
I'm tracking a domain (with www.thespin.be) since months. Last week we changed things related to domain & server and now SEOmoz has 0 pages crawled.
I think that's because now my main domain is without www. (thespin.be).
How can I modify my campaign to reflect this "change" (that's not really a new domain..) to avoid losing all my campaign history ?
Also, on Google Webmaster Tools it's like I have 2 different sites (one with www. and another without), although I've defined my favorite domain (without www.) months ago.. Google won't update its index. And I have this problem on several other sites..
Thank you very much for giving me a feedback.
Regards
Jean-Louis
-
Hi Jean-Louis! This is Megan from SEOmoz. You're right that the number of pages getting crawled has dropped to 1 because of the change from www to non www. Unfortunately, you'll need to start a new campaign for thespin.be. The tool doesn't allow the domain of a campaign changed once it's setup. It's limited in that way, because if the parameters of a campaign were constantly changing, it could make it extremely difficult to interpret historical data in terms of why progress was or wasn't made.
On the bright side, you can archive your current campaign so that you'll have all of the historical data for reference. Also, archiving doesn't take up a campaign slot.
I hope this helps!
-
Here is the code you need to use:
- Locate your .httpaccess file inside the root folder (you may need a file explorer)
- Open it inside Notepade/Wordpad, i recommend NotePad++
- Add this code:
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www.(.+) [NC]
RewriteRule ^(.*) http://%1/$1 [R=301,NE,L]
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www.(.+) [NC]
RewriteRule ^(.*) https://%1/$1 [R=301,NE,L]
This will affect http://www. and https://www.
This httpaccess if safe to use with SSL on or off.
Note that I used
NE
flag to prevent apache from escaping the query string. Without this flag, apache will change the requested/?foo%20bar
to/?foo%2250bar
-
Hi Labici,
First, thank you for your fast reply.
Well I have 2 zone DNS type A redirecting to my server: 1 with www. and the other without. Is it okay or should I use another type of redirect ?
-
First be sure you redirect all the www. traffic to non www. domain or you will get duplicated content and titles.
You have made a good move to get rid of www. as google tends to rank non www. domains higher.
"domain & server and now SEOmoz has 0 pages crawled."
I think you need to wait to be re-indexed, not 100% sure, but I think you will get the answer Friday when the reports are being sent out by SEOMoz.
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
-
Unsolved Can I exclude subdomain from a Campaign?
Also, I would like to track a subdomain without the root domain, is that possible?
Moz Pro | | AndreVa0 -
Does a subdomain hurt/help a domain?
My organization's website currently hosts research databases on a subdomain. We're relatively new to MOZ and when I ran a crawl of my site, it came back with 30K issues.... 98% of which are on this subdomain. I wish I could just remove it and call it a day, however, real and active researchers use it regularly. My question is: Does a subdomain hurt/help a domain? I'm seeing mixed results via Google search and browsing this forum. I'm concerned that I will not be able to fix these 30K issues as I do have access to maintain this database... and just by looking at it you can tell it was built in 2005 and hasn't been updated from an SEO perspective since. Any suggestions?
Moz Pro | | mlothamer0 -
No page authority for https and www versions
In Moz page onsite explorer, I'm getting a page rank of 1 for https://productcategory, and www./productcategory, but for the non-www version, I have a page rank of 33. The DA for each link is 25 Google is indexing my https:// version of my site (with the page rank of 1). Could this be why I'm getting outranked by my competitors (who have no content on their page, no links, and a lower domain and page authority than me?) Does this indicate some kind of issue with my redirections or settings in google search console? I would love to know how to fix this if it could be causing issues Thanks
Moz Pro | | Golden850 -
Any reason why an OSE spam Score is different for www and non-www versions of a site?
When checking the root domain links and DA in OSE pasted a non-www URL of my site and showed up with a spam score of 9. When I pasted the www. version it showed none. Does anyone think this is a cause for concern or just a bug?
Moz Pro | | insitemoz10 -
Change the labels' name
Hello, I defined various labels and linked them to groups of keywords. Nevertheless, I'd like to change the name of one label, but it seems to be impossible. How could I do ? Thanks,
Moz Pro | | soliste690 -
El "Crawl Diagnostics Summary" me indica que tengo contenido duplicado
Como El "Crawl Diagnostics Summary"pero la verdad es que son las mismas paginas con el wwww y sin el www. que puedo hacer para quitar esta situacionde error.
Moz Pro | | arteweb20 -
Usable to set up campaign because site cannot be
I don't understand this message. i never had problems with other sites and now I get problems with this message when trying to set a campaign twice for 2 different sites. I received the same message twice. What do I do? Help! We have detected that the root domain xxxxxxxxxxxxxxxxxxxx does not respond to web requests. Using this domain, we will be unable to crawl your site or present accurate SERP information. Thanks.
Moz Pro | | mcuneo0 -
Is it possible to have two (or more) Twitter accounts for the same campaign?
I use a primary (personal) twitter account and a business twitter account to keep it separate. Both accounts will have content that is related to my site, is it possible to use both for the same campaign?
Moz Pro | | stuartlcrawford0