Difference between rel=”next” rel=”prev” vs rel=”canonical” ?

Discussion in 'eCommerce' started by pranavirai02, Dec 11, 2014.

  1. #1
    • Difference between rel=”next” rel=”prev” vs rel=”canonical” ?
    what is the best answer of this question ?
     
    pranavirai02, Dec 11, 2014 IP
  2. Axumata

    Axumata Greenhorn

    Messages:
    22
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    10
    #2
    Use rel="canonical" when you need to point search engine bots to unique content.
    For example, you have one item in different categories:

    mystore.com/products/copters/parrot-ar-drone
    mystore.com/products/toys/parrot-ar-drone
    mystore.com/products/gifts/parrot-ar-drone
    mystore.com/manufacturers/parrot/parrot-ar-drone
    Code (markup):
    So you choose which one is the most relevant and mark it by adding a <link> tag with rel="canonical" to it.

    With rel=”next” rel=”prev” you create a path for a search engine bot to crawl through a set of content pages in some category.
    For example, you have some news in a chronological order:

    mystore.com/news/halloween-sale
    mystore.com/news/black-friday-sale
    mystore.com/news/christmas-sale
    mystore.com/news/new-year-sale
    Code (markup):
    So you need to add a <link> tag with rel="next", rel="prev" to the <head> tag of each article to point the search engine crawler to your next and previous articles.
     
    Axumata, Dec 13, 2014 IP
    Arick unirow likes this.