Page MenuHomePhabricator

Consider using googleon/googleoff tags for certain elements of the HTML output
Open, MediumPublicFeature

Description

Author: theevilipaddress

Description:
I believe it's worth consideration to remove certain elements from the Google indexing. This can be done with the <!--googleoff--> and <!--googleon--> tags. I have already noticed editsection links or the jump to links within the Google text, which are quite useless there.


Version: 1.18.x
Severity: enhancement
URL: http://code.google.com/apis/searchappliance/documentation/46/admin_crawl/Preparing.html#pagepart

Details

Reference
bz27250

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:19 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz27250.
bzimport added a subscriber: Unknown Object (MLST).

Doesn't the use of nofollow make this meaningless?

Nevermind, I see how this is completely different. Do you have any other suggestions for elements that should be removed?

theevilipaddress wrote:

Let me see: probably the .printfooter is also useless there, a bit unsure about the tagline, because that information is already in the <title> element. I would however probably leave the navigation, because it contains links to other wiki pages.

theevilipaddress wrote:

Addition: the "redirected from" message should probably also be removed from the Google indexing.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM