Prestashop

Prestashop: No follow causing W3 non-compliance

The problem I believe has to do with changes on standards.

The w3 validator shoes as an error to have multiple rel=”example” tags inside an argument. So when it added its no follow arguments did the following things.

Incorrect

<a rel=”nofollowhref=”http://www.malla-supply.com/manufacturers-abb-96?p=2rel=”next“>

 

Correct

<a href=”http://www.malla-supply.com/manufacturers-abb-96?p=2rel=”next nofollow“>

 

To solve this I removed the code that generated the nofollow real tag {$no_follow_text} and hardcoded it manually.

This is not the best practice but works for now.

Attachments:

Leave a Reply

Your email address will not be published. Required fields are marked *