Closed Bug 460319 Opened 17 years ago Closed 17 years ago

Don't index the contributors forum or off-topic forum in search results

Categories

(support.mozilla.org :: Forum, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cww, Assigned: ecooper)

References

()

Details

(Whiteboard: sumo_only oldsearch)

Attachments

(1 obsolete file)

Now that we are more actively using the contributor forum and have an off-topic forum, we don't want those threads to show up if people are searching forums. Also related, we don't want them to be indexed by Google so people don't land there accidentally when they're looking for support. They shouldn't be getting support on either of those forums. I assume this is doable by a robots.txt and/or a few tweaks to code. Assigning to nkoth but Eric may be better?
robots.txt makes sense, if it works with our urls (I think the forumId is in the query string, and we still want the main support forum to be indexed). <meta name="robots" content="noindex"> should work as well. -- simple addition to the header.tpl based on some conditions?
Assignee: nelson → smirkingsisyphus
I went with meta tags through head.tpl. robots.txt is an option, but in the past I've had better luck with meta tags when using dynamic urls. If there is a preference for using robots.txt, let me know. The patch explicitly denies indexing on the contributor and off-topic forums only (viewing forum and viewing forum threads). I assume that's the desired outcome.
Attachment #344820 - Flags: review?(nelson)
Comment on attachment 344820 [details] [diff] [review] No indexing on contributor or off-topic forums committed alternative patch to r19476/r19477
Attachment #344820 - Attachment is obsolete: true
Attachment #344820 - Flags: review?(nelson)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Verified FIXED: https://support.mozilla.com/tiki-view_forum.php?locale=en-US&forumId=4 has topics of: "horrible forum software", "word association game", and "...more a suggestion", among others. http://support.mozilla.com/tiki-searchindex.php?locale=en-US&words=horrible+forum+software&sa= yields no results for the "Off-topic" forum, and neither does http://support.mozilla.com/tiki-searchindex.php?locale=en-US&words=word+association+game&sa=.
Status: RESOLVED → VERIFIED
OS: Windows XP → All
Hardware: x86 → All
Whiteboard: sumo_only oldsearch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: