News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

<meta name="robots" content="noindex"> for categories SMS forum

Started by muratbora, August 04, 2019, 12:24:23 PM

Previous topic - Next topic

muratbora

<meta name="robots" content="noindex"> for categories,
I have noticed that SMS is inserting <meta name="robots" content="noindex"> for categories into META section,
This is causig to not crawl of categories...is this normal or somethin error?
How to remove "noindex" tag than?

Arantor



Arantor

This isn't normal, but I'm not sure if this is a bug in Pretty URLs or a bug in Optimus, or both together. It's not normal in unmodified SMF 2.1 RC2 though.

vbgamer45

Pretty urls bug. I noticed this code added in SMF 2.1 in display.php will fix...

// Let's do some work on what to search index.
if (count($_GET) > 2)
foreach ($_GET as $k => $v)
{
if (!in_array($k, array('topic', 'board', 'start', session_name())))
$context['robot_no_index'] = true;
}

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

sources folder but it is display.php and messageindex needs updating working on it now should be done in a few minutes.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


Advertisement: