vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Page 4 of 6
FirstFirst 1 2 3 4 5 6 LastLast
Results 46 to 60 of 84

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
    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 08:58 PM.
    sGroup

  2. #47
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550
    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.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  3. #48
    Member
    Join Date
    Oct 2005
    Posts
    98
    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?
    sGroup

  4. #49
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550
    Do you have VBSEO_ACRONYM_PAGELIMIT set to 0 in config_vbseo.php?
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


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

  6. #51
    Member
    Join Date
    Oct 2005
    Posts
    98
    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?
    sGroup

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

  8. #53
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550
    This option (limit number of replacements per page) currently only works with 5.1.0 or greater.
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  9. #54
    Member
    Join Date
    Oct 2005
    Posts
    49
    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
    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 Martyn's Avatar
    Real Name
    Martyn Day
    Join Date
    Dec 2005
    Location
    Kent - UK
    Posts
    641
    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?
    AshfordTalk.co.uk - Coming Soon

  12. #57
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul
    Posts
    16,944
    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.

    Yeni vBSEO Kontrol Paneli ve vBSEO 3.5 Yayın Tarihleri

    vBSEO 3.5 Beta 2 Yayınlandı - vBulletin 4 Uyumlu!



    Kişisel Sitem : Felsefe - Kültür merkeziniz

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

    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
    Posts
    16,944
    Blog Entries
    4
    You need to choose REPLACE acronyms as expanded text as your acronym expansion setting
    Mert Gökçeimam / Crawlability Inc.

    Yeni vBSEO Kontrol Paneli ve vBSEO 3.5 Yayın Tarihleri

    vBSEO 3.5 Beta 2 Yayınlandı - vBulletin 4 Uyumlu!



    Kişisel Sitem : Felsefe - Kültür merkeziniz

  15. #60
    Member ridoxxx's Avatar
    Real Name
    Fulvio
    Join Date
    Nov 2007
    Location
    Milan (the sunny Italy)
    Posts
    43
    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

Similar Threads

  1. Keyword help
    By blueraider in forum General Discussion
    Replies: 1
    Last Post: 02-15-2007, 07:46 PM
  2. keyword replacements
    By vissa in forum vBSEO Features Archive
    Replies: 4
    Last Post: 04-28-2006, 04:36 PM
  3. /keyword/ vs. /keyword.html
    By Fender963 in forum General Discussion
    Replies: 5
    Last Post: 03-19-2006, 11:05 AM
  4. Local Link Replacement, more replacements
    By iain meddicks in forum vBSEO Features Archive
    Replies: 2
    Last Post: 03-03-2006, 09:51 AM