Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Add metatag noindex,nofollow to individual Kentico pages

$
0
0
We are looking to add meta noindex,nofollow tags to certain pages on our Kentico MVC site. Documentation states that if you choose @Exclude from Search@, Kentico will add these noindex,nofollow meta tags to the page but it does not on our website. If we fill out meta details for a page like title, keywords and description, those feed properly so we're not sure why the noindex,nofollow meta tag isn't injecting if we have @Exclude from Search@ checked.Perhaps a way of going about it via main _Layout.cshtml and seeing if a page's @Exclude from Search@ is checked and then it would add the noindex,nofollow meta tags, but I'm not sure if this is possible and I feel like the default way would be cleaner.We've tried checking that @Exclude from Search@, re-running indexes, rebooting application. The native functionality of adding noindex,nofollow meta tag does not work on our K12 MVC site.

Viewing all articles
Browse latest Browse all 8901

Trending Articles