News:

Wondering if this will always be free?  See why free is better.

Main Menu

noindex to error pages

Started by kokett, December 08, 2013, 07:22:32 PM

Previous topic - Next topic

kokett

Hello,

where do I have to put

$context['robot_no_index'] = true;

that crawlers don't index error pages like

QuoteWarning!

The topic or board you are looking for appears to be either missing or off limits to you.
Please login below or register an account with Simple Machines Community Forum.

(LOGIN_FORM)

?

Thank You!

Arantor

There is, sadly, a bunch of places you'd have to modify that to make that work properly :(

I think this is something we should deal with in 2.1, though.

kokett

Hello,

primarly for deleted topics it would be nice.

Arantor

Deleted topics do actually issue the noindex directive.

kokett

Hello,
primarily for deleted topics it would be nice. Other errors are not important for me.

Edit: SMF does this trick already, after hours of searching I saw the MetaTags mod http://www.simplemachines.org/community/index.php?topic=315966.0 is messing up the meta robots code...

Sorry for wasting your time...

Advertisement: