Page 4 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast
Results 46 to 60 of 92
Like Tree2Likes

keyword link replacements

This is a discussion on keyword link replacements within the General Discussion forums, part of the vBSEO SEO Plugin category; When I applied the acronym expansion to content areas only, the actual replacement works fine, but it does not display ...

  1. #46
    Member
    Join Date
    Oct 2005
    Posts
    98
    Liked
    0 times
    When I applied the acronym expansion to content areas only, the actual replacement works fine, but it does not display any text after it. So my posts just stop in mid-sentance.

    My config_vbseo.php has the URL structure like this:
    PHP Code:
     '<a target="_blank" title="%2" style="color:#000000; text-decoration:none;" href="%1">%2</a>' 
    Any I deas why this might be happening?
    Last edited by sGroup; 06-09-2008 at 09:58 PM.
    sGroup

  2. #47
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    please try to modify functions_vbseo_seo.php file:
    FIND:
    PHP Code:
    $modstring $prepre .
    (
    strstr($found"http:") || strstr($found"www.") ? 
    $found $afterpart 
    $asv preg_replace('#\b(' $sk ')\b#i'$asv2$afterpart,
    (
    VBSEO_ACRONYM_PAGELIMIT max(VBSEO_ACRONYM_PAGELIMIT $vbseo_acronym_counter[$sk],0) : -1), $rapplied
    ));
    $vbseo_acronym_counter[$sk] += $rapplied
    REPLACE WITH:
    PHP Code:
        if(VBSEO_ACRONYM_PAGELIMIT 0)
        {
            
    $after_repl = @preg_replace('#\b(' $sk ')\b#i'$asv2$afterpart,
                 (
    VBSEO_ACRONYM_PAGELIMIT max(VBSEO_ACRONYM_PAGELIMIT $vbseo_acronym_counter[$sk],0) : -1), 
                 
    $rapplied);
            
    $vbseo_acronym_counter[$sk] += $rapplied;
        }else
            
    $after_repl preg_replace('#\b(' $sk ')\b#i'$asv2$afterpart);

        
    $modstring $prepre .
             (
    strstr($found"http:") || strstr($found"www.") ? 
                 
    $found $afterpart 
             
    $asv $after_repl); 
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #48
    Member
    Join Date
    Oct 2005
    Posts
    98
    Liked
    0 times
    I tired this and didnt get any different results.
    My functions_vbseo_seo.php now looks like this:
    PHP Code:
    function vbseo_seo_replace_callback($sk$sv$pretag$prefound$found$afterpart)
    {
    global 
    $vbseo_acronym_format$vbseo_acronym_counter;
    $found str_replace('\\"''"'$found);
    $afterpart str_replace('\\"''"'$afterpart);
    $prepre str_replace('\\"''"'$pretag $prefound);
    if(
    VBSEO_ACRONYM_PAGELIMIT>0)
    {
    if(!isset(
    $vbseo_acronym_counter))
    $vbseo_acronym_counter = array();
    if(++
    $vbseo_acronym_counter[$sk] > VBSEO_ACRONYM_PAGELIMIT)
    return 
    $prepre $found $afterpart;
    }
    $asv str_replace('%1'$svstr_replace('%2'$found$vbseo_acronym_format));
    $asv2 str_replace('%1'$svstr_replace('%2''$1'$vbseo_acronym_format));
    $rapplied 0;
        if(
    VBSEO_ACRONYM_PAGELIMIT 0)
        {
            
    $after_repl = @preg_replace('#\b(' $sk ')\b#i'$asv2$afterpart,
                 (
    VBSEO_ACRONYM_PAGELIMIT max(VBSEO_ACRONYM_PAGELIMIT $vbseo_acronym_counter[$sk],0) : -1), 
                 
    $rapplied);
            
    $vbseo_acronym_counter[$sk] += $rapplied;
        }else
            
    $after_repl preg_replace('#\b(' $sk ')\b#i'$asv2$afterpart);
        
    $modstring $prepre .
             (
    strstr($found"http:") || strstr($found"www.") ? 
                 
    $found $afterpart 
             
    $asv $after_repl);
    return 
    $modstring;


    Any other thoughts?

  4. #49
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Do you have VBSEO_ACRONYM_PAGELIMIT set to 0 in config_vbseo.php?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #50
    Member
    Join Date
    Oct 2005
    Posts
    98
    Liked
    0 times
    I had it set to 1. I changed it to 0 and it worked perfect.
    Thank you for the help.

  6. #51
    Member
    Join Date
    Oct 2005
    Posts
    98
    Liked
    0 times
    Changing VBSEO_ACRONYM_PAGELIMIT to 0 fixed the problem, but now i don't have a page limit. I need to have that set or I get several links on the page. any ideas to help this?

  7. #52
    Member
    Join Date
    Oct 2005
    Posts
    98
    Liked
    0 times
    Is there anything I can do to make both functions work together?

  8. #53
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    This option (limit number of replacements per page) currently only works with 5.1.0 or greater.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #54
    Member
    Join Date
    Oct 2005
    Posts
    49
    Liked
    0 times
    Thanks for adding this, it's a fantastic feature that works great on my site. It's so simple to add hundreds of links and my site's bounce rate has plummeted

    The only problem is that I've added hundreds of links and it doesn't seem to want to let me add any more. It has stopped at 440 links...does that sound right? Seems like a strange number so I wondered if it's a setting or not.

    When I try and add any more in the box they're not saved after I submit the page. Is there anywhere else that I could add more links in a php file etc? Could we have a bigger box in the vbseocp?

    Thanks again and keep up the good work, looking forward to seeing more of this feature

    Stu

  10. #55
    Member
    Join Date
    Oct 2005
    Posts
    49
    Liked
    0 times
    I think I've spotted what's happening...

    It looks as though it's not savin my settings when I load any more changes into vbseocp...does that sound right? if so, is there any way I fix it to add more link replacements?

    Stu

  11. #56
    Senior Member
    Real Name
    Martyn Day
    Join Date
    Dec 2005
    Location
    Kent - UK
    Posts
    650
    Liked
    0 times
    Blog Entries
    1
    how can we make our Acronym look like vbseos?

    seo

    edit im sure it used to show a little dotted under the "seo" for example to show they can be highlighteed?

    any idea anyone?

  12. #57
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,362
    Liked
    541 times
    Blog Entries
    4
    If you use acronym option it is auto highlighted. In order to have the same effect with link keyword replacements you need to modify alt1 and alt2 css classes
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  13. #58
    Member ridoxxx's Avatar
    Real Name
    Fulvio
    Join Date
    Nov 2007
    Location
    Milan (the sunny Italy)
    Posts
    43
    Liked
    0 times

    How to made it?

    Hi to all,
    first sorry for my awful English

    second I installed the gold realize for Vbseo 3.2.
    I'd Like to convert some word

    I have xxxx i'd like have yyyy ad a url in acronium expansion I
    write

    'xxxxx' => '<a href="http://www.lepedanevibranti.it/">yyyyy</a>'

    and add:
    add acronym html tag to acronyms
    I obtained:
    yyyyy">xxxxx">xxxxx

    How I can take off: ">xxxxx">xxxxx

    where's my error???
    thanks to all

    ciao
    Fulvio
    Fulvio il papà del Tapis Roulant e pedana vibrante ciao

  14. #59
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,362
    Liked
    541 times
    Blog Entries
    4
    You need to choose REPLACE acronyms as expanded text as your acronym expansion setting
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  15. #60
    Member ridoxxx's Avatar
    Real Name
    Fulvio
    Join Date
    Nov 2007
    Location
    Milan (the sunny Italy)
    Posts
    43
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    You need to choose REPLACE acronyms as expanded text as your acronym expansion setting
    I did it and this is what I obtained:
    yyyyy">xxxxx

    now we have to take off only ">xxxxx
    suggestion?

    Thanks a lot Mert Gökçeimam
    Fulvio il papà del Tapis Roulant e pedana vibrante ciao

Page 4 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast

Similar Threads

  1. Keyword help
    By blueraider in forum General Discussion
    Replies: 1
    Last Post: 02-15-2007, 08:46 PM
  2. keyword replacements
    By vissa in forum vBSEO Features Archive
    Replies: 4
    Last Post: 04-28-2006, 05:36 PM
  3. /keyword/ vs. /keyword.html
    By Fender963 in forum General Discussion
    Replies: 5
    Last Post: 03-19-2006, 12:05 PM
  4. Local Link Replacement, more replacements
    By iain meddicks in forum vBSEO Features Archive
    Replies: 2
    Last Post: 03-03-2006, 10:51 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
  •