How do i actually use the canonicalization rule for Apache?
-
Hi Guys,
Moz is reporting lots of duplicate content on my site. I think this is partly from session id's and partly from category pages and on-site search generated pages. I know I have to use the canonicalization rule but don't know exactly how to determine the correct URL and where to put the code. Can anyone offer any advice on this? I'm new to this so apologies for any etiquette breaching etc.
Many thanks, Stewart.
-
Stewart,
The canonicalization tag identifies the URL where the one true version of content can be found. The tag used on the one true version AND all on the copies of the true version are exactly same tag because the copies will point to the true version and the true version will point to itself. Often the version you're going to set as the one true version is that which has the shortest URL or the one without any parameters added to the end of it.
The whole purpose of the canonicalization tag is to be able to say "Hey Google, I know I have a bunch of URLs that have the same content--I know it's not ideal but there's nothing I can do about that. So what I want you to do is only count this specific URL in your index so all the others don't count against me as duplicate content."
Here's more detail on the topic: Canonicalization and the Canonical Tag - Learn SEO - Moz
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
-
What do you do with product pages that are no longer used ? Delete/redirect to category/404 etc
We have a store with thousands of active items and thousands of sold items. Each product is unique so only one of each. All products are pinned and pushed online ... and then they sell and we have a product page for a sold item. All products are keyword researched and often can rank well for longtail keywords Would you :- 1. delete the page and let it 404 (we will get thousands) 2. See if the page has a decent PA, incoming links and traffic and if so redirect to a RELEVANT category page ? ~(again there will be thousands) 3. Re use the page for another product - for example a sold ruby ring gets replaces with ta new ruby ring and we use that same page /url for the new item. Gemma
Technical SEO | | acsilver0 -
Is using outbrains legal in Googles eyes?
Is using outbrains legal in Googles eyes? I have been using outbrains and drive 1K traffic each day for 50$ is this something good? Is using outbrains legal in Googles eyes?
Technical SEO | | AlexisWithers0 -
Excessive use of KeyWord?
Hey I have an Immigration website in South Africa
Technical SEO | | NikitaG
MigrationLawyers.co.za and the website used to be divided in to two categories:
1st part - South African Immigration
2nd part - United Kingdom Immigration Because of that we made all the pages include the word "South Africa" in the titles. eg.
...ers.co.za/work-permit-south-africa
...ers.co.za/spousal-visa-south-africa
...ers.co.za/retirement-permit-south-africa
...ers.co.za/permanent-residence-south-africa I'm sure you get the idea.
we since, removed the UK part of the website and now are left only with the SA part. Now my question is: Is it bad? will google see this as spammy, as I'm targeting "South Africa" in almost every link of the website. Should I stick to the structure for new pages, or try to avoid any more use of "South Africa". Perhaps I can change something as it currently stands? Kind Regards
Nikita0 -
Satellite Website Dilemma - Hosted in House or Elsewhere? Blog or Actual Shop?
Hi All, I have recently noticed a LOT of websites appearing in some of the SERP (example http://goo.gl/UyHZp6) that have an exact match domain (or as near as) and are either thin blogs that have a splash of content, and then link back to Amazon, competitor A competitor B etc. or an online secondary shop. Getting tired of this I have purchased a couple of exact match domains of my own, but am unsure of the best way to tackle this with long term gains in mind. The exact match domains I have are the .co.uk and com versions of these: http://goo.gl/xrjY7Z http://goo.gl/Mg0XBl The ideal scenario for me would be to create the satellite website as a functioning shop specialising in just a small group of specialist products (10 - 12) from a subcategory of the main site. My main store has 1200 + items and this will make the user experience better as I feel as it will make navigation easier, allow for more information to be present without confusing things. It would also allow the customer to feel safe knowing they are buying from a specialist. However I have the following in mind: My ecommerce software open cart supports multi store from the same database, this is great and makes management massively easy. It would allow me to brand the satellite store up as specialist store yet manage all orders through one admin portal. The sites would have separate IP addresses, but I am worried about the site being on the same server as the main site, and sharing whois info etc. Would google think of this as spamming the results? There will be no shared content, and I do not intend to interlink the sites for fear of them looking like a link network. The other option is to take out some cheap hosting and start building content on a blog similar to this: http://goo.gl/sBB3wY I hate this however as it just seems spammy and as a consumer it annoys me when I find this. What are your thoughts on how to deal with this?
Technical SEO | | speedingorange0 -
Use target keyword on several page titles or homepage only?
If I want my homepage to rank for a keyword (ie "red widgets"), does it support or dilute the homepage's rank if I use the keyword on other pages? I can see it working either way: The search engine looks at your site, sees that the target keyword is used throughout the site, and ranks the site higher as a result. Using the keyword on several pages makes it so none of them stand out, and ultimately it's harder to rank highly. Thoughts?
Technical SEO | | Kyle_M0 -
Should i use NoIndex, Follow & Rel=Canonical Tag In One Page?
I am having pagination problem with one of my clients site , So I am deciding to use noindex, follow tag for the Page 2,3,4 etc for not to have duplicated content issue, Because obviously SEOMoz Crawl Diagnostics showing me lot of duplicate page contents. And past 2 days i was in constant battle whether to use noindex, follow tag or rel=canonical tag for the Page 2,3,4 and after going through all the Q&A,None of them gives me crystal clear answer. So i thought "Why can't i use 2 of them together in one page"? Because I think (correct me if i am wrong) 1.noindex, follow is old and traditional way to battle with dup contents
Technical SEO | | DigitalJungle
2.rel=canonical is new way to battle with dup contents Reason to use 2 of them together is: Bot finds to the non-canonical page first and looks at the tag nofollow,index and he knows not to index that page,meantime he finds out that canonical url is something something according to the url given in the tag,NO? Help Please???0 -
Canonical tag used on several pages?
Is it a bad idea to use rel=canonical from several pages back to one (if you are planning on no-indexing them)? Does this concentrate the “link juice” from those several pages back to one?
Technical SEO | | nicole.healthline0 -
Is anyone using Media Temple?
I'm looking to move 5 of my sites from Hostgator's shared servers to Media Temple's dedicated virtual servers. Anyone have experience with (mt)? I'm planning on adding a few more sites this year and several things they offer are attractive to me: A (virtually) dedicated environment: Faster websites, better user experience, plus I like having some control over my site's resources Scalability: I can add more resources easily (although not super cheap) Unique control panels for each site: More control for my tech savvy clients. Unique IPs for $1 a month: More linkjuice between my related sites. $50/month is a big jump from my $12/month Hostgator account but I'm thinking it will be worth it. Am I on the right track or is this a fool's errand?
Technical SEO | | AaronParrish0