• Internet
  • 08.11.2017
  • EN

Simply RedDot: "Duplicate Pages"

written by Jian Huang, 6. January 2012

Most publication issues can be caused by pages connected to multiple locations. The most common symptom is having duplicate pages on the site.

For example: Both page 1 and page 2 are connected to multiple locations with different publication package at each location, so the pages will get published twice, each time to a different location.


Obsolete Solution (Not working in 9 or 10)

Edit the content class of "RSS Listing", use preexecution to replace islink=2 with islink=10 to trick CMS into thinking the following pages are references, hence not to crawl and publish following pages.

All Version Compatible Solution

Use the list to pull info_page_guid from the connected page. 

<li><%!! Context:Pages.GetPage(Guid:<%inf_page_guid%>).GetUrl(Bool:True) !!%></li>

Page 1 and page 2 still get published according to different publication packages, but links generated always point to the pages' main link.

Source: Duplicate Pages

© copyright 2012 by Jian Huang