Canonical tag, CNAME and 301 redirect
-
I have a website with a couple of domains pointing to one IP address. Let's say I have two domains www.example.com and www.example.ca
I also see during my SEO analysis that the example.com and the www.example.com (same for the example.ca and the www.example.ca) are triggering server responses.
How do I deal with this issue for best SEO. Canonical links? CNAME, or 301 redirects? thanks
-
Oh yes... it was a mistyping from my part, sorry
-
Gianluca, thanks for your time. Before I ask my web host to do this one point of clarification. In step 2 you mention redirect of example.com to www.example.com Since www.example.ca is my focus should this be example.ca to www.example.ca or is it correct as stated?
-
It always better to do a 301... also because exists also Bing as a search engine, and it does not know what you have done in GWT
-
thanks very much. As suggested above I just went to google webmaster tools and did specify www.example.com and www.example.ca as the preferred domains. Do I still need to do 301 redirects as well or just a redirect from www.example.com to www.example.ca
-
301 all the other versions to the www.example.ca domain.
I mean...
- redirect 301 the .com domain to the .ca domain (this will take care both of sub-domain and root domain)
- redirect 301 example.com to www.example.com via .htaccess
If you don't do it you have a massive duplication issue... being www.example.ca stronger in link building, it is normal that the other (which are dupes) doesn't go well.
-
all four (www.example.com, example.com, www.example.ca and example.ca) have same content. I have focused all of my SEO efforts on the www.example.ca version. It now ranks well and has good authority and PR but I am concerned about the other versions. I though of adding a canonical tag to the header of the pages on the website making the www.example.ca version the canonical version and then doing 301 redirects (Do I redirect the www.example.com to www.example.ca and then redirect the example.ca to the www.example.ca or is there more to this?). I can easily go the cname route with my server host but I had heard that a 301 is better. Does this added info add clarity to what I am asking? thanks very much for your answers and time til now
-
First of all you have to choose what u are going to use www or no-www, then stick to this! I suggest the www version as most of the people use this when typing in urls directly in their browser.
Then go to your Google Webmaster Tools and set your preferred domain to your choice.
Last but not least make sure you have a redirect for the traffic that does use url without www... You can do this with an .htaccess file. This is a small text file that can handle your redirects.
I don't quite understand the other part, do all the domains share the same content? If so, you should use those canonical tags to indicate where the original content comes from...
-
Delete this for double posting (sorry)
-
In fact that's the way to have just the sub-domain www. appearing online.
And, sorry, I don't really understand the .ca e .com question... does those domains show the same content. In that case one of the two (.com if you target public worldwide or .ca if you target only Canada) should be redirected 301 to the other.
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
-
Google Deindexing Site, but Reindexing 301 Redirected Version
A bit of a strange one, a client's .com site has recently been losing rankings on a daily basis, but traffic has barely budged. After some investigation, I found that the .co.uk domain (which has been 301 redirected for some years) has recently been indexed by Google. According to Ahrefs the .co.uk domain started gaining some rankings in early September, which has increased daily. All of these rankings are effectively being stolen from the .com site (but due to the 301 redirect, the site loses no traffic), so as one keyword disappears from the .com's ranking, it reappears on the .co.uk's ranking report. Even searching for the brand name now brings up the .co.uk version of the domain whereas less than a week ago the brand name brought up the .com domain. The redirects are all working fine. There's no instance of any URLs on the site or in the sitemaps leading to the .co.uk domain. The .co.uk domain does not have any backlinks except for a single results page on ask.com. The site hasn't recently had any design or development done, the last changes being made in June. Has anyone encountered this before? I'm not entirely sure how or why Google would start indexing 301'd URLs after several years of not indexing these.
Technical SEO | | lyuda550 -
Redirecting 301 or 302?
Hi, I think the part of this question has been already discussed, but not exactly the same, I think. My site requires authentication for member page. When a user try to go to member area, we redirect to 3rd party to do the authentication. 1. user clicks a link to www.mysite.com/member/contents.html
Technical SEO | | HypermediaSystems
2. www.myauthenticate.com/login?h=somehashuniquehash454859428778545 (enters id/pass)
3. login success => redirect back to www.mysite.com/member/contents.html We are doing it 302, temporary redirect. But moz crawler error seems to suggest we should do it 301.
So my question is:
A. Should we do it 301???
B. If we do 301, what happens to myauthenticate.com? since it has hashtag, I am afraid it could create a lot of duplicate contents on myauthenticate.com side... Thank you so much for your help in advance...0 -
Creating a CSV file for uploading 301 redirect URL map
Hi if i'm bulk uploading 301 redirects whats needed to create a csv file? is it just a case of creating an excel spreadsheet & have the old urls in column A and new urls in column B and then just convert to csv and upload ? or do i need to put in other details or paremeters etc etc ? Cheers Dan
Technical SEO | | Dan-Lawrence0 -
Does any one have experience with SEO and .NET using 301 redirects?
A while ago I altered some of the URL's of my website. Google now thinks that I have two duplicate pages (duplicate content), I have asked my third party web developers (Who use .NET and a custom built CMS system) to simply 301 redirect the old URL to the other. However, my web developers say the following: "Solving the problems by 301 permanent re directs are out of the question as this would create infinite loops. Likely to bring down our server." They also wont do a canonical, as they say there is only one page (but two URLs) Firstly, has any one heard of this before and do they think this is true? Also, does anyone have an alternative method of getting rid of the old URL? Any thoughts would be much appreciated.
Technical SEO | | CoGri0 -
Are duplicate page titles fixed by the canonical tag
Google Web Master Tools is saying that some of my pages have duplicate page titles because of pagination. However, I have implemented the canonical tag on the paginated pages which I thought would keep my site from being penalized for duplicate page titles. Is this correct? Or does canonical tag only relate to duplicate content issues?
Technical SEO | | Santaur0 -
Identifying a 301-redirect problem?
I was looking at the Search Engine Optimization reports for one of my clients in Google Analytics, and I saw that their two biggest landing pages are www.website.com and http://website.com. Does this mean that Google is serving both the 'www' and 'non-www' versions of the website, and thus harming the website's overall ranking? Thanks for any input!
Technical SEO | | williammarlow0 -
301 Single Page Redirects in IIS7?
Hey all -- I am working with a client, getting ready to make a full domain level change to a brand new domain. The existing domain has solid domain importance and trust, and the home page has a 5/10 GPR, so the transfer of all existing link juice is very important. Of course, I will be utilizing 301's to permanently redirect all existing pages to their new permanent homes. It will be a 1-1 structure, which I know is also best when possible. My question comes in specific to IIS. There is a wealth of information out there on the net regarding implementing permanent 301's using Apache and .htaccess, but nada when it comes to doing it in IIS7, which is what the client is using. For instance, today I am seeking to help them redirect 2 single pages to new destinations within the same domain, just diffferent folders. When you open up the IIS7 Control Panel (yes, with full Admin access), you can navigate to the directory, but the individual pages that I am looking to redirect with 301's do not show in IIS7, so you can't just right click on each page and choose "A redirection to a URL," etc. Any help on exactly how to redirect a single page using a permanent 301 in IIS 7 would be huge! Thanks guys!
Technical SEO | | Bandicoot0 -
Wordpress 301 redirects
I use wordpress as CMS on a few sites and I noticed that word press automattically places 301s if I change a url etc. I believe it does it by having the following in the .htaccess file: BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteRule ^index.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule> END WordPress Should I use this? I feel like it limits my control over the 301s.
Technical SEO | | mmaes0