Page 1 of 1

Seo

Posted: Sat Feb 02, 2019 6:57 am
by kosi77
How to place <meta name = "robots" content = "noindex, follow"> in categories and tag?

This should be done to avoid duplicating pages.

Re: Seo

Posted: Sat Feb 02, 2019 11:45 am
by Edi
At the moment this is not possible.

You can post a feature request at

https://github.com/bludit/bludit/issues

Re: Seo

Posted: Sat Feb 02, 2019 12:15 pm
by bayerberg
if you modify head.php with something like

Code: Select all

if ($WHERE_AM_I == 'category') {
echo '<meta name = "robots" content = "noindex, follow">';
} 
it is possible. There should be a bit more logic to do it correctly though...

Re: Seo

Posted: Sun Feb 03, 2019 10:40 am
by kosi77
I think this is better:

Code: Select all

<?php
if ($WHERE_AM_I == 'category') {
echo '<meta name = "robots" content = "noindex, noarchive">';
}
?>
<?php
if ($WHERE_AM_I == 'tag') {
echo '<meta name = "robots" content = "noindex, noarchive">';
}
?>