Updating or modifying content you use across your site can be a tremendous task. Imagine having to update dozens of documents one by one because the wording of a widely used statement in your documentation has changed or having to rewrite whole pages just to avoid duplicate content. Daunting? Not with MindTouch. MindTouch allows you to reuse sections of content or even whole pages. And whenever you need to change a word, a sentence or a a paragraph, simply make the change in one single location, and all other pages are automatically updated!
To avoid duplicate content when reusing whole pages, add a canonical link meta tag and noindex class to your reused pages. Note that you cannot reuse categories or guides. You can only reuse articles.
- If you already have content you want to reuse, navigate to the page where you would like to reuse the content and skip to step 3.
- If you need to create content for the first time, create a new page and add the content you want to reuse.
If you want to reuse a specific section of your page, those sections must contain headings.
- Navigate to the page that contains the content you want to reuse.
- Open the page in Edit mode.
- In the editor toolbar, click the Content reuse icon .
- Use the Browse or Search tab, or enter the URL (minus the domain) into the Article to reuse text box to select the article that contains the reuse content.
- To reuse a section of the page, select the appropriate section from the Reuse section drop-down list.
MindTouch reuses the entire section, including any subsections, when calling content.
- Click Insert.
- The page now displays a
wiki.pagecall containing the source page path (and section, if applicable).
- Save your page.
- Verify the contents of your source page are now displayed on our reuse page.
As you update the content of your source page, your reuse page will automatically update when reloaded.
Avoid duplicate content
Only add a
canonical URL meta tag and the
noindex class when reusing whole pages.
Duplicate content is a big concern for SEO-conscientious content managers. While Google, for example, does not "punish" you for having duplicate content, it arbitrarily chooses which content (if any) to surface in its search results. Punishment or not, Google choosing the page to surface or deciding to ignore all the pages not only hurts your SEO but also your users, who may not ever find the information they are looking for in an organic (web) search. To avoid duplication of content, follow the steps below:
- In a DekiScript block, add a canonical URL meta tag to tell search engines to ignore this page and instead to look at the preferred page.
<html> <head> <link rel="canonical" href="url_of_prefered_page" /> </head> </html>
- Add a
noindexclass to a
wiki.pageso that the reused content is not seen by search engines.
Google states that it attempts to respect canonical URLS, but does not guarantee it.
It is possible to reuse a page that already contains a
wiki.page call. In that scenario, whenever you load the new page, you are essentially making two (2)
wiki.page calls. Depending on the amount of content you're reusing and the amount of calls you're ultimately calling on page load, keep in mind that reusing content that already contains a
wiki.page call can result in slower performance when loading the new page. We recommend avoiding reusing content more than twice.
Additional parameters can be added to the
wiki.page call to further refine the call.
So you are reusing sections, but your section titles don't display. Review our documentation on how to display titles of reused sections.