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
-
Should I set blog category/tag pages as "noindex"? If so, how do I prevent "meta noindex" Moz crawl errors for those pages?
From what I can tell, SEO experts recommend setting blog category and tag pages (ie. "http://site.com/blog/tag/some-product") as "noindex, follow" in order to keep the page quality of indexable pages high. However, I just received a slew of critical crawl warnings from Moz for having these pages set to "noindex." Should the pages be indexed? If not, why am I receiving critical crawl warnings from Moz and how do I prevent this?
Moz Pro | | NichGunn0 -
Domain Authority
Since we started using Moz our domain authority has dropped from 84 to 79. We can't figure this out. Is their someone we can discuss this with?
Moz Pro | | Tom_Matthews0 -
Moz vs google data conflict?
Hi there, I am doing an SEO site audit for a client(giveaway, and here is the problem: when performing site:domain.com on google --> 13,800 pages were found When I see this number it seems to be a bit too much compare to the links i checked on integrity(link check for broken links) which gave me a result of 1291. I digged in more into the Google results and saw hundreds(maybe thousands) of pages that are blocked by robots.txt. So I am thinking, ok this is it, thousands of pages can't be crawled by the search engines. Here is the big BUT though, then I check at my moz crawl (see attachment) and no pages are blocked by the SEs, and then look at the dups, only 23 recorded?? Is Moz not crawling properly the 13,800 results that google finds or is this some magical phenomenon happening here? I am really confused here that is why I need some help here! Thank you guys! A990Hu4.png k842AOn.png
Moz Pro | | Ideas-Money-Art0 -
Site Explorer Results - Linking Domains Tab
I have a competitor who has the following Linking Root Domains numbers on the Linking Domains tab and was wondering if some one could explain what the numbers mean? opera.com - 205,515
Moz Pro | | bridgeway04-34677
dmoz.org - 97,752 prweb.com - 198,092 quantcast.com - 115,748 tinyurl.com - 443,540 jquery.com - 57,886 URL: http://www.opensiteexplorer.org/domains?site=www.verypdf.com%2F Thanks, Brad0 -
How to Properly Set Up My Campaign
My url www.pcf.org redirects to ttp://www.pcf.org/site/c.leJRIROrEpH/b.5699537/k.BEF4/Home.htm because of my old CMS and this cannot be changed. Should I set it up as a Subdomain, root domain, or folder? For example using the homepage url http://www.pcf.org/site/c.leJRIROrEpH/b.5699537/k.BEF4/Home.htm I get the following results: subdomain: You've decided to set up a subdomain campaign, but entered the subfolder path:
Moz Pro | | mstanwyck
www.pcf.org/site/c.leJRIROrEpH/b.5699537/k.BEF4. Don't worry, we'll switch that for you and crawl everything on your subdomain: www.pcf.org. If you meant to set this up to only crawl pages in the subfolder /site/c.leJRIROrEpH/b.5699537/k.BEF4, click "Go back and Change" and choose the subfolder option in step 1. root domain: You've decided to set up a root domain campaign, but entered the subfolder path: www.pcf.org/site/c.leJRIROrEpH/b.5699537/k.BEF4. Don't worry, we'll switch that for you and crawl everything in the subfolder /site/c.leJRIROrEpH/b.5699537/k.BEF4. subfolder: It looks like you submitted a URL that relates to an individual file: www.pcf.org/site/c.leJRIROrEpH/b.5699537/k.BEF4/Home.htm
rather than a folder:
www.pcf.org/site/c.leJRIROrEpH/b.5699537/k.BEF4. Don’t worry, we’ll switch that for you and crawl everything in that folder instead. If you meant to set this up for a different folder, click ”Go back and change” and enter a different path. To complicate things further, as you move through the site, the only part of the URL that starys consistent 100% of the time is: http://www.pcf.org/site/c.leJRIROrEpH/ Depending on where you are on the site, it appends the url. For example: One page is http://www.pcf.org/site/c.leJRIROrEpH/b.6185669/k.9792/Sherry_Galloway.htm while another is http://www.pcf.org/site/c.leJRIROrEpH/b.5800843/k.94DE/Everyday_Heroes.htm0 -
Issue with Data Updates on Campaign
I'm reviewing a campaign I am running for a client, the Keywords data has not updated yet even though it's supposed to update every monday. The competitive analysis shows a date of August 14, which is odd becuase I'm on a trial account?
Moz Pro | | amerihope0 -
Campaign Crawl Report
Hello, Just a quicky, is there anyway I can do a crawl report for something in a campaign so I can compare the changes? I know you can do a separate crawl test, but it wont show the differences,and the next crawl date isnt untill the 28th.
Moz Pro | | Prestige-SEO0 -
What does this error mean when starting a new campaign
hi just about to start a new campaign to i can monitor my website and i get this message up but not sure what this means. Roger has detected a problem: We have detected that the domain www.headlineplus.com and the domain headlineplus.com both respond to web requests and do not redirect. Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here. can anyone please let me know why this message comes up please
Moz Pro | | ClaireH-1848860