Correct use of Canonical link vs 301 redirect
-
Hi All,
Seeking yet more advice.
SEOMOZ tools have told me I have duplicate content on one of my sites and I am keen to clean this up. I am not to familiar with the following so thought I would ask.
The duplicate content is shown on :
Obviously I only see index.html when I check the code so what is the best method of resolving the duplicate content, Canonical or 301?
Can you give me an example
Thanks all
-
Thanks guys, exactly what I was looking for
-
Wayne,
A 301 is always preferred over a canonical when given the choice. You would use a canonical if you did not have access to your web server and did not have a better option.
The method of redirect depends on the hardware and software of your server. The most common shared servers use Apache and cPanel where there is a Redirect tool which allows you to perform this redirect. The Redirect tool writes the htaccess code for you.
You are also welcome to use the code Sean shared but if you have not modified your file before please understand any mistake can make your site inaccessible. Always back up the current file, make the change, and thoroughly test it.
-
Use a 301 Redirect with .htaccess. Use the following code in your 'htaccess file:
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://www.yoursite.com/$1 [R=301,L]
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
-
Low quality links
I remember finding a tutorial on MOZ about how to remove low quality links. But i cant find it now. can someone help?
On-Page Optimization | | kevinbp0 -
Do links in footers or side bars count less than links in the center of the web page?
do links in footers or side bars count less than links in the center of the web page? How much less if so? I have some articles on my site. Would i get more of a boost in rankings to pages of my site by placing links in the text of my articles on my site to other pages on my site? Thanks mozzers!
On-Page Optimization | | Ron100 -
Have you used Reziew or Reevoo?
We are looking into companies to work with for customer reviews and ratings on our e-commerce site. We want our customers to see what others think and we want unique and fresh content on our site for Google to see and the rating star rich snippets in the SERPs. Two companies we're looking at right now are Reziew and Reevoo. Has anyone had any experience working with them? Any advice for choosing one? Or advice in general about choosing a partner for this? Any other companies you recommend?
On-Page Optimization | | dogids0 -
Canonical Tag for Ecommerce Site
I implemented a canonical tag on each product page for my clients ecommerce site and my rankings tanked. Has this happened to anyone else? If so, when can I expect rank to return?
On-Page Optimization | | DynoSaur0 -
Limiting On Page Links
Right now, we have about 160 or so links on the home page. It's been recommended that we keep it to under 100, though that's not as big of a deal as it once was. Is it helpful to make a bunch of those links "nofollow" in order to preserve link juice? Is it going to make a difference, or be at all helpful? I assume it won't be harmful, especially as a bunch of them are to the same page but on different sections of the page. Would live your advice and thoughts! Thanks!
On-Page Optimization | | DeliaAssociates0 -
Nofollow all outgoing links?
If nofollow keeps link juice from leaking from a site, why not use nofollow on all external links? What would be the benefit of an external link that does not use nofollow? Best, Christopher
On-Page Optimization | | ChristopherGlaeser0 -
Rel Canonical
Hi Folks I have 77 Rel Canonical warning, and mostly confuse me. Mainly because they seem to be the exact link I would expect for that page. So I'm not so sure why they have been flagged.... two examples below Any thoughts or tips? (please 🙂 ) | Page Title
On-Page Optimization | | PHDAustralia68
URL | Tag value | Page Authority | Linking Root Domains | | BlueTea: New Sydney Kitchen Designs Company, Renovations, Colour Designs http://bluetea.com.au/ bluetea.com.au/ 37 18 Blog | Blue Tea http://bluetea.com.au/2010/10/?cat=15 | bluetea.com.au/category/blog/ | 1 | 0 |
| |0 -
Internal linking
Background; selling childrens clothing (for norwegian market). main page is being optimized barneklær (children clothing) which is most used term. We ve been online for around 3 months and have gone from unranked to 25th spot on google for this term. We are selling clothes from 8 different producers which all have their own 'page' - were all their products are listed. e.g http://www.epleskrinet.no/dundelina/M_13 . This page i am optimizing for the producer which is dundelina. For this term i show up in spot 24, 25 and 44. My problem is that its not the producer page that show up but the 3 most popular products. The producer page isnt ranked at all. What ive done so far is to have to producer link to my page from their site and blog (a week ago) - they were linking to my home page earlier. Ive put anchor text dundelina --> takes me to producer page on 4 out of 7 products. This was also done about a week ago. I am planning a blog about dundelina pointing to the right URL. From our blog I am using. Ive posted a couple of pictures on facebook pointing to right URL. Do i just need to be patient for this to be picked up or is there anything else i should do ? Thanks ... Dan Lærum
On-Page Optimization | | danlae0