by
dp121 » Wed Sep 13, 2017 5:53 am
- Code: Select all
<cms:embed 'page.html' />
The solution KK sir has suggested solves the problem of duplicate content but it again causes the problem that if i do any changes to index.php (Like addition of link in navigation bar), the changes doesn't reflect on homepage because homepage has been embed from standalone html page.
- Code: Select all
<cms:else/>
<cms:masquerade "<cms:link masterpage='index.php' page='raavi-font-typing-tutor' />" />
</cms:if>
If I use above code, it causes duplicate content but whenever i do any changes to index.php, it reflects on homepage too.
- Code: Select all
<cms:else />
<cms:pages masterpage='index.php' page_name='raavi-font-typing-tutor' limit='1' show_unpublished='1'>
<cms:embed 'page.html' />
</cms:pages>
</cms:if>
If I use above code, it solves problem of duplicate content but when i make any changes to index.php (like changing color of navigation), they doesn't reflect on homepage.
Please help me achieve both the effects so that when i publish my website in couchcms i don't get penalized for duplicate content by Google and whole website can be managed by making changes to index.php. Thank you for helping me !