Hello,
history: #1370342: Implement a setting to add "rel=nofollow" to facet links
Would like to establish facet weight, so rel nofollow can be removed or sculpted. Example:
Facet 1 - color - weight 1
- blue
- black
Facet 2 - animal - weight 2
- lion
- zebra
So, if user browses to
blue -> lion
all good
but, if user browses to
lion -> blue
facets are rearranged according to weight, and user is redirected to
blue -> lion
The result is the same, and the search engines wont penalise for duplicate results, with slight name variation.
Another option would be to remove nofollow if facet level matches weight. This way, a redirection can be avoided. For example
Facet 1 - color - weight 1
- blue
- black
Facet 2 - animal - weight 2
- lion
- zebra
Facet 3 - height - weight 3
- tall
- short
So, if a search engine bot goes to
lion everything is nofollowed
if a search engine bot goes to
blue
every animal facet is nofollowed, and search engine can continue to
blue -> lion
at this level, every height facet is nofollowed etc.
Comments
Comment #1
cm_is commentedHi,
you can accomplish the desired behavior by using https://drupal.org/project/facetapi_pretty_paths. It has that option to make paths unique by sorting them. You `ll always end up with the same path regardless of order the facets are seleted.
Greetings
cm
Comment #2
giorgio79 commentedThat solution probably interferes with the user's browsing by sorting the facets, so not sure if it is viable. If we could specify a weight for facets, facetapi pretty paths could use that for sorting also.
Comment #2.0
giorgio79 commentedalternative solution