Add Rel Canonical to all pages on my site (Magento)
-
Can anyone guide me as to how to add the REL CANONICAL feature to every page on my website (Magento shopping cart)
Thanks
-
You can add a rel="canonical" link to any magento page as xml layout.
For example if you want to add this to homepage:- navigate to CMS -> Pages and open your home page.
- click design tab
- paste this into Custom Layout Update XML:
<reference name="head"><action method="addLinkRel"><rel>canonical</rel>
<href>http://www.example.com</href></action></reference> -
Hi,
Have you have you had a look at the Yoast magento canonical plugin . Also he has a good article on general magento optimisation. Have to admit these might be a bit dated I just remembered them from when I was doing some stuff with magento a while back. Hope it helps as a starting point though.
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
-
Canonical in Shop Areas of an E-commerce Site. When and Where?
Hi Guys. A quick one about duplicate content... So we have a lot of pages that are very similar on our site, but are actually different products. e.g) Our Fortnight view refills and our week to view refills. Our MOZ report defines this as duplicate content. Question: Would a canonical tag be the way to go to 'remove' this duplicate content? And if so, which page should it point back to? Just picking one of the products? Or the higher level Landing page? Many thanks in advance... Isaac.
On-Page Optimization | | isaac6630 -
Using Canonical Tags on Every Page
I'm doing competitive research and noticed that one of our competitors (who outranks us) uses canonical tags on every page on their site. The canonical tags reference the page they are on. For example. www.competitor.com/product has a canonical tag of www.competitor.com/product. Does anyone use this practice? It seems strange to me. Thank you, Kristen
On-Page Optimization | | Ksink0 -
Any idea how Google is doing this? Is it schematic? http://techcrunch.com/2014/02/28/google-adds-full-restaurant-menus-to-its-search-results-pages/
Google is now showing menus on select searches. Any idea how they are getting this information? I would like to make sure my clients get visibility this way.
On-Page Optimization | | Ron_McCabe0 -
Rel=Publisher
Hi Since rel=publisher code should be added to the head tags of a website surely this means that would then show up on every main page of a site but i'm looking at a few sites using the rich snippet testing tool and its only showing for home page - how come ? Cheers Dan
On-Page Optimization | | Dan-Lawrence0 -
"City page" links in footer of home page: Spammy?
Is listing a bunch of links to city pages in the footer of a home page considered "spammy" to Google? (ie- Chicago Alarms, Illinois Alarms, Naperville Alarms, etc.) What are the negative affects this might have on ranking, if any?
On-Page Optimization | | MChi0 -
Tilde + On-page Optimization
I'm analyzing my Hispanic site www.escolares.net, and I noticed that on-page optimization rank with an F pages using a tilde in target keywords. Does anybody know if SeoMoz software can completely understand in their analysis special characters as tildes? Cristian Majluf
On-Page Optimization | | motorpod1 -
How do I get rid of duplicate page titles when using a php site?
Hi. I have an e-commerce site that sells a list of products. The list is divided into categories and then those categories for the various pages on the site. An example of a page title. would be given root/products.php?c=40 another page would be given root/products.php?c=41 Is there a way to structure the site with SEO in mind?
On-Page Optimization | | curtisgibbsiii0 -
Page Authority
I have recently optimised a set of images for a client of ours: I'm looking through all the PA of these newly optimised images, and have varying PA {from SEOmoz toolbar} I understand that internal linking will pass link juice, and obviously external links will add to the overall PA. I have several pages with a PA of 36: { Fairly deep pages} Yet they have no external or internal links going to them. My question is "How can a page gain any authority when it has no visible links pointing at it?" Obviously there must be a link pointing at it {internally} as Google wouldn't have crawled the page right? Also lets say all the keywords are of equal competitiveness would the keywords with highest PA rank higher than those on O PA pages. Many Thanks
On-Page Optimization | | Yozzer0