SEO noindex nofollow tagging.
SEO noindex nofollow tagging.
Is there a way to append a meta noindex nofollow tag whenever a page is set to be not searchable?
Re: SEO noindex nofollow tagging.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SEO noindex nofollow tagging.
Thanks Rolf! I am already using the extra attribute tags so I was hoping that there was a built in parameter I can look for when search is turned off/on.
Re: SEO noindex nofollow tagging.
Try and test (especially if you're using other content types):
Code: Select all
{if $content_obj->getPropertyValue("searchable") === '0'}<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">{/if}Re: SEO noindex nofollow tagging.
a while ago, i created this plugin: http://dev.cmsmadesimple.org/project/files/1196
does exactly what you need. I have it on most my sites.
does exactly what you need. I have it on most my sites.




