Results 1 to 9 of 9

Post Thank You Hack - Duplicate specification of attribute "rel"

This is a discussion on Post Thank You Hack - Duplicate specification of attribute "rel" within the Bug Reporting forums, part of the vBSEO SEO Plugin category; HTML error: Code: <a rel="nofollow" href="http://www.vbstyle.ru/forum/post_thanks.php?do=post_thanks_add&amp;p=232&amp;securitytoken=1239022556-6064ec83e1c32d8153a5d006b833d3a7b9eaf952" id="post_thanks_button_232" onclick="return post_thanks_give(232, false);" style="display:none" rel="nofollow" >...

  1. #1
    Junior Member Array Romchik®'s Avatar
    Real Name
    Roman
    Join Date
    Sep 2008
    Location
    Europe
    Posts
    27
    Liked
    1 times

    Post Thank You Hack - Duplicate specification of attribute "rel"

    HTML error:
    Code:
    <a rel="nofollow" href="http://www.vbstyle.ru/forum/post_thanks.php?do=post_thanks_add&amp;p=232&amp;securitytoken=1239022556-6064ec83e1c32d8153a5d006b833d3a7b9eaf952" id="post_thanks_button_232" onclick="return post_thanks_give(232, false);" style="display:none" rel="nofollow">

  2. #2
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    Is a bug, but wont do any harm as the post button is not viewable to SE bots & browsers ignore it.
    2011 Average: 1 post every 5 seconds... 24/7

  3. #3
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    you can probably remove the hardcoded rel="nofollow" from that template.

  4. #4
    Junior Member Array Romchik®'s Avatar
    Real Name
    Roman
    Join Date
    Sep 2008
    Location
    Europe
    Posts
    27
    Liked
    1 times
    Yes, I know it

    But probably it is better to make check?
    If tag is not available then to insert.
    If tag is available not to insert second time.

  5. #5
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    It should work like that actually. Can you provide an example URL where that happens?
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #6
    Junior Member Array Romchik®'s Avatar
    Real Name
    Roman
    Join Date
    Sep 2008
    Location
    Europe
    Posts
    27
    Liked
    1 times

  7. #7
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Please try to modify functions_vbseo.php file:
    find:
    PHP Code:
    [\>\);] 
    replace with:
    PHP Code:
    [\>] 
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #8
    Junior Member Array Romchik®'s Avatar
    Real Name
    Roman
    Join Date
    Sep 2008
    Location
    Europe
    Posts
    27
    Liked
    1 times
    Oleg, I can't find this. Which line is?

  9. #9
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Line #1729, the code would look like:
    PHP Code:
    $newtext preg_replace (
    '#(<(?:'.$r_tags.')([^>]*?)(?:'.$r_tattr.')\s*[=\(]\s*["\'])([^"\'>\)]*)(.*?[\>\);])([^<]*)(</a>)?#ise',
    "vbseo_replace_urls('$1', '$3', '$2', '$4', '$5', '$6')",
    $newtext
    ); 
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. "Duplicate title tags" problem
    By yousef in forum General Discussion
    Replies: 74
    Last Post: 10-16-2008, 09:49 PM
  2. there is no attribute "onSubmit"
    By Majora in forum Troubleshooting
    Replies: 2
    Last Post: 04-12-2008, 06:25 PM
  3. "Last Edited by..." duplicate Social Bookmarks
    By Kaelon in forum Troubleshooting
    Replies: 14
    Last Post: 03-23-2008, 09:10 PM
  4. Replies: 5
    Last Post: 09-09-2006, 04:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •