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
-
Is there an percentage of duplicate content required before you should use a canonical tag?
Is there a percentage (approximate or exact) of duplicate content you should have before you use a canonical tag? Similarly how does Google handle canonical tags if the pages aren’t 100% duplicate? I've added some background and an example below; Nike Trainer model 1 – has an overview page that also links to a sub-page about cushioning, one about Gore-Tex and one about breathability. Nike Trainer model 2,3,4,5 – have an overview page that also links to sub-pages page about cushioning , Gore-Tex and breathability. In each of the sub-pages the URL is a child of the parent so a distinct page from each other e.g. /nike-trainer/model-1/gore-tex /nike-trainer/model-2/gore-tex. There is some differences in material composition, some different images and of course the product name is referred multiple times. This makes the page in the region of 80% unique.
Technical SEO | | punchseo0 -
301 redirects delay in picking up
Hi I have been involved in the redesign/development of a website which has up until now had a lot of international traffic. On day of migration I uploaded all the 301 redirects to the website (wordpress) using Simple 301 redirect plugin. I tested a number of them and they appeared to be working. I also submitted the new sitemaps to Search Console. Since migration international traffic - particularly from countries such as india, Phillipines, Sri Lanka etc have significantly dropped off whereas the local traffic and some of the international traffic such as USA has remained fairly consistent. Looking at Analytics and entrances recently it appears as though search results are/were showing a number of pages with 404's (one in particular which received significant traffic and for which I had created a 301 redirection) - I have checked this page using the old url and it re-directs correctly for me and today asked a colleague in India to also check - he is getting the redirection fine. Does Google.in take a significantly longer time to pick these up in search results? Or am I missing something?
Technical SEO | | musthavemarketing0 -
301 Redirect to add juice from Keyword A to Keyword B
Here's our situation: Our company sells Employee HANDBOOKS (the book that explains to employees how the company itself is run, more or less). That's the technically correct term for them. However, many people use this term interchangeably with Employee MANUALS. Employee MANUALS are actually slightly different. (they're more specific, usually a list of common office policies and procedures and how to do them) When doing Keyword research, we learned that many, many people search for Employee MANUALS when they actually are interested in an employee HANDBOOK. We've got our page optimized for the Keyword Employee HANDBOOKS, because in our copy we always refer to it as such. Here's my question: Would it be "cloacking" or some other blackhat nonsense if we did this: #1. Take a copy of the current page, and make a second page for it with a slightly different URL, but optimize the SEO-relevant parts for the phrase Employee MANUAL. #2. That page will also include a 301-redirect towards the original page, which is identical except the SEO bits are optimized for Employee HANDBOOKS. My understanding here is that we'd get the SEO juice from the phrase Employee Manual, without actually having to do the upkeep on two different pages. We also avoid having to have a random page SEO optimized for an improper term just because of the general confusion about what the product is called. Are we on the right track here? Or is this going to annoy Google, or not have the result I'm predicting? Any insight is appreciated!
Technical SEO | | CEDRSolutions0 -
301 redirect homepage question
Hi If i have a homepage which is available at both www.homepage.com and www.homepage.com// should i 301 the // version to the first version. Im curious as to whether slashes are taking into consideration Thanks in advance
Technical SEO | | TheZenAgency0 -
Remove html file extension and 301 redirects
Hi Recently I ask for some work done on my website from a company, but I am not sure what they've done is right.
Technical SEO | | ulefos
What I wanted was html file extensions to be removed like
/ash-logs.html to /ash-logs
also the index.html to www.timports.co.uk
I have done a crawl diagnostics and have duplicate page content and 32 page title duplicates. This is so doing my head in please help This is what is in the .htaccess file <ifmodule pagespeed_module="">ModPagespeed on
ModPagespeedEnableFilters extend_cache,combine_css, collapse_whitespace,move_css_to_head, remove_comments</ifmodule> <ifmodule mod_headers.c="">Header set Connection keep-alive</ifmodule> <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews</ifmodule> DirectoryIndex index.html RewriteEngine On
# Rewrite valid requests on .html files RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^ %{REQUEST_URI}.html?rw=1 [L,QSA]
# Return 404 on direct requests against .html files RewriteCond %{REQUEST_URI} .html$
RewriteCond %{QUERY_STRING} !rw=1 [NC]
RewriteRule ^ - [R=404] AddCharset UTF-8 .html # <filesmatch “.(js|css|html|htm|php|xml|swf|flv|ashx)$”="">#SetOutputFilter DEFLATE #</filesmatch> <ifmodule mod_expires.c="">ExpiresActive On
ExpiresByType image/gif "access plus 1 years"
ExpiresByType image/jpeg "access plus 1 years"
ExpiresByType image/png "access plus 1 years"
ExpiresByType image/x-icon "access plus 1 years"
ExpiresByType image/jpg "access plus 1 years"
ExpiresByType text/css "access 1 years"
ExpiresByType text/x-javascript "access 1 years"
ExpiresByType application/javascript "access 1 years"
ExpiresByType image/x-icon "access 1 years"</ifmodule> <files 403.shtml="">order allow,deny allow from all</files> redirect 301 /PRODUCTS http://www.timports.co.uk/kiln-dried-logs
redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood.html
redirect 301 /about_us.html http://www.timports.co.uk/about-us.html
redirect 301 /log_delivery.html http://www.timports.co.uk/log-delivery.html redirect 301 /oak_boards_delivery.html http://www.timports.co.uk/oak-boards-delivery.html
redirect 301 /un_edged_oak_boards.html http://www.timports.co.uk/un-edged-oak-boards.html
redirect 301 /wholesale_logs.html http://www.timports.co.uk/wholesale-logs.html redirect 301 /privacy_policy.html http://www.timports.co.uk/privacy-policy.html redirect 301 /payment_failed.html http://www.timports.co.uk/payment-failed.html redirect 301 /payment_info.html http://www.timports.co.uk/payment-info.html1 -
How long should you keep 301 redirects?
Hi, Back in 2009 I decided to update an older site from .htm and .shtml to .php. In order to minimize the impact I would go in every month and do a 301 redirect on the .shtml page to the new .php page. So I have many that range from 2009 through 2010. I had left the old 301's because I felt they would only be used if needed but I would think I should clean up my .htaccess by removing the old 301 redirects if they are not needed. How long should you keep this type of 301 redirect? Thanks!
Technical SEO | | Force70 -
301 redirect or 302
A client of mine has an international company named www.taxglobalizers.com if you come from Holland they 302 redirect you to the www.taxglobalizers.com/en version of the site and if you come from Holland they redirect with a 302 to www.taxglobalizers.com/nl version. I think it is best to change this in a 301 redirect. Am i correct in this? Kind Regards, Ruud
Technical SEO | | RuudHeijnen0 -
My home page 301 redirects - is this an SEO problem
When ever a browser calls my site canineconcepts.co.uk, it is automatically 301 redirected to canineconcepts.co.uk/en I am not sure if I should be concerned about this from an SEO perspective or not. Any thoughts?
Technical SEO | | CanineConcepts0