SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: playah26 on January 26, 2010, 03:28:10 PM

Title: Meta-Tag: NoIndex
Post by: playah26 on January 26, 2010, 03:28:10 PM
I had see a problem in Simple Portal. No Search Engine can analyse my forum index, becouse the forum index (action=forum) has a <meta name="robots" content="noindex" /> and the portal not. I have no Mods.

I have the lastest version of SMF and SP.
Title: Re: Meta-Tag: NoIndex
Post by: H on January 26, 2010, 03:29:05 PM
Confirmed this is an issue (both for the op, and on this site :))
Title: Re: Meta-Tag: NoIndex
Post by: [SiNaN] on January 28, 2010, 11:26:53 AM
Well, looks like they added a piece of code to prevent indexing useless stuff but the way it is done is just ridiculus. I'm not sure but this would fix it I guess:

Sources/BoardIndex.php

Code: (Find) [Select]
if (!empty($_GET))
Code: (Replace) [Select]
if (!empty($_GET) && $_GET !== array('action' => 'forum'))
It only affects SMF 2.0 RC2 I believe.
Title: Re: Meta-Tag: NoIndex
Post by: playah26 on January 29, 2010, 05:42:29 AM
Works ! Bug fixed ! thanks
Title: Re: Meta-Tag: NoIndex
Post by: jackquil36 on February 04, 2010, 05:21:12 PM
lol just at the right time. Two of my domains having SP installed were dropped from Google. But fortunately they have come back again after the bug got fixed.  :applause:
SimplePortal 2.3.8 © 2008-2024, SimplePortal