Results 1 to 14 of 14

Exclude LinkVault links from Analytics & rel=nofollow adds

This is a discussion on Exclude LinkVault links from Analytics & rel=nofollow adds within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi I want to start using LinkVault again but I have set vBSEO that every external link automaticly gets the ...

  1. #1
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times

    Question Exclude LinkVault links from Analytics & rel=nofollow adds

    Hi

    I want to start using LinkVault again but I have set vBSEO that every external link automaticly gets the analytics and rel=nofollow code added.

    Is there a way to exclude the linkvault links from these automatic edits?

    Thanks

    StarBuG

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Add rel="novbseo" to the links.

    BTW, LinkVault type things have been found to hurt a site's rankings.

  3. #3
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    I can't add rel="novbseo" to the links because they are dynamically created.

    I enter a variable into my footer and a php file requests the links and writes them into a text file.
    The links are static for every page (which is why lv does not hurt) but you get different links for every page.

    Any other options?

    If there is none, my suggestion would be to have a tag like:

    <!-- no vbSEO start -->
    everything in here is not touched by vBSEO
    <!--no vBSEO end -->

    StarBuG

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    you should modify your LinkVault php code to add rel="novbseo" to those links or disable corresponding options in vbseocp.

  5. #5
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    I have looked into the file and the links seem to be dynamicly pulled from the linkvault server.
    There is nothing that creates a <a href link in this php file.

    I am no php expert, maybe one of you could have a look?
    I have attached the php file.

    Would it technically be possible, as suggestion, to have a <!-- no vbSEO start --> html tag and let vBSEO ignore everything between the start and end tag?

    Thanks

    StarBuG
    Attached Files

  6. #6
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Quote Originally Posted by StarBuG View Post
    Would it technically be possible, as suggestion, to have a <!-- no vbSEO start --> html tag and let vBSEO ignore everything between the start and end tag?
    This has been suggested/discussed in the past, but was found to be too much of a performance hit. The suggestion can be revisited though.

  7. #7
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    That sounds good.

    Thank you.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Try to modify the code:
    FIND:
    PHP Code:
    return $OutputThis
    ADD ABOVE:
    PHP Code:
    $OutputThis str_replace('<a ''<a rel="novbseo" '$OutputThis);
    return 
    $OutputThis

  9. #9
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    Works like a charm.

    Thanks for this great support

    StarBuG

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    You are welcome!

  11. #11
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    Hi

    I still have trouble getting the site active in LinkVault.
    Somehow their validation script is not accepting my links.

    Is there a way to exclude the novbseo from the test links?
    Maybe this is the problem??

    T2DMan from New Zealand Restaurants Guide & Food Reviews-Forum-Time2Dine NZ said the following:

    Quote Originally Posted by T2DMan
    You can't have the novbseo in your lv links

    <a rel="novbseo" href="#">TestLink2</a>,

    You also can't have the onclicks in there. Neither is acceptable for the link vault.

    Basically, if you have link vault - you can't have the vbseo/google external link tracking turned on.

    The vbseo suggestion was a great one, and it did get rid of the analytics onclicks, but unfortunately not quite there.

    Sorry that I can't give an alternative. Hmmm. Could there be a final searchreplace to get rid of the rel="novbseo" as the last step before outputting the html? Have a try - see the plugin order for the last plugin before all the code is outputted....
    I am no programmer so I have no clue how to solve this problem, can you help me with that?

    Thanks

    StarBuG

    ps: is no one else using linkvault?
    Last edited by StarBuG; 07-29-2007 at 05:46 AM.

  12. #12
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    T2DMan gave me a solution for removing the novbseo from the links:

    Quote Originally Posted by T2DMan
    Seems like you have to get rid of the rel="novbseo"

    Try adding the following in the vbseo global_complete vBSEO Global Hook

    so that you have the following:

    existing:
    Code:
    if(@include_once(($GLOBALS['vbpath']?$GLOBALS['vbpath'].'/includes':dirname(__FILE__)).'/functions_vbseo.php'))
        $output = make_crawlable($output);

    revised:
    Code:
    if(@include_once(($GLOBALS['vbpath']?$GLOBALS['vbpath'].'/includes':dirname(__FILE__)).'/functions_vbseo.php'))
        $output = make_crawlable($output);
    $output=str_replace("rel=\"novbseo\"","",$output);
    Unfortunatly this did not solve the activation problem of linkvault. :(

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    rel="novbseo" should be removed by vBSEO automatically. Make sure that it is added right after starting <a> tag:
    correct:
    HTML Code:
    <a rel="novbseo" href="">
    incorrect:
    HTML Code:
    <a href="" rel="novbseo">

  14. #14
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    It is not removed from links like <a rel="novbseo" href="#">

    That is why the code above is needed.

    but slightly modifed then above:

    Code:
    $output=str_replace("rel=\"novbseo\"","",$output);
    But I got it to work now and posted the solution in a separate thread

    Thx

    StarBuG

Posting Permissions

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