Hi Folks,
Now I may be overthinking this, hopefully I've overlooked something simple... My Canonical Links are not working properly with Single Product Per Page!
My canonical links were not displaying on the Single Product Per Page, brochure or home page.
This is the default code in Sellerdeck.
<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionPaginationIncludeFullPage%22%20%2f%3e%20%3d%3d%201" >
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionPaginationCurrentPageIndex%22%20%2f%3e%20%3e%200%29" >
<!-- Tell search engines how to index paginated sections -->
<link rel="canonical" href="<actinic:variable name="SectionPaginationFullPageURL" />"></actinic:block>
</actinic:block>
But in order to get the Canonical link in the Single Product Per Page, brochure page and home page, I upgraded the script to this:
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e">
<link rel="canonical" href="http://www.snazzles.net/" /> </actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e%20%3d%3d%20false">
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Brochure%27" >
<link rel="canonical" href="http://www.snazzles.net/<actinic:variable name="BrochurePageURL" />" />
</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
<link rel="canonical" href="<actinic:variable name="CatalogURL" /><actinic:variable name="SectionPageName" />" />
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%29" >
<link rel="canonical" href="http://www.snazzles.net/Costumes/<actinic:variable name="ProductPageName" />">
</actinic:block>
However the Single Product Per Page is giving incorrect URL's.
This page: http://www.snazzles.net/costumes/Spi...8.html#SID=178
...should display:
<link rel="canonical" href="http://www.snazzles.net/Costumes/Spiderman---Second-Skin---Adult-s-Second-Skin-880948.html">
...but instead it's displaying:
<link rel="canonical" href="http://www.snazzles.net/Costumes/C:\ProgramData\SellerDeck 2013\Snazzles\SiteHTML\Spiderman---Second-Skin---Adult-s-Second-Skin-880948.html">
Any help would be appreciated.... Thanks.
Now I may be overthinking this, hopefully I've overlooked something simple... My Canonical Links are not working properly with Single Product Per Page!
My canonical links were not displaying on the Single Product Per Page, brochure or home page.
This is the default code in Sellerdeck.
<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionPaginationIncludeFullPage%22%20%2f%3e%20%3d%3d%201" >
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionPaginationCurrentPageIndex%22%20%2f%3e%20%3e%200%29" >
<!-- Tell search engines how to index paginated sections -->
<link rel="canonical" href="<actinic:variable name="SectionPaginationFullPageURL" />"></actinic:block>
</actinic:block>
But in order to get the Canonical link in the Single Product Per Page, brochure page and home page, I upgraded the script to this:
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e">
<link rel="canonical" href="http://www.snazzles.net/" /> </actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e%20%3d%3d%20false">
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Brochure%27" >
<link rel="canonical" href="http://www.snazzles.net/<actinic:variable name="BrochurePageURL" />" />
</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
<link rel="canonical" href="<actinic:variable name="CatalogURL" /><actinic:variable name="SectionPageName" />" />
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%29" >
<link rel="canonical" href="http://www.snazzles.net/Costumes/<actinic:variable name="ProductPageName" />">
</actinic:block>
However the Single Product Per Page is giving incorrect URL's.
This page: http://www.snazzles.net/costumes/Spi...8.html#SID=178
...should display:
<link rel="canonical" href="http://www.snazzles.net/Costumes/Spiderman---Second-Skin---Adult-s-Second-Skin-880948.html">
...but instead it's displaying:
<link rel="canonical" href="http://www.snazzles.net/Costumes/C:\ProgramData\SellerDeck 2013\Snazzles\SiteHTML\Spiderman---Second-Skin---Adult-s-Second-Skin-880948.html">
Any help would be appreciated.... Thanks.
Comment