Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17

Vbseo_icon_prefix

This is a discussion on Vbseo_icon_prefix within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello, We want to serve VBSEO_ICON_PREFIX files from our Content Delivery Network (CDN) and not from the server running vBulletin; ...

  1. #1
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times

    Vbseo_icon_prefix

    Hello,

    We want to serve VBSEO_ICON_PREFIX files from our Content Delivery Network (CDN) and not from the server running vBulletin; and we prefer not to 301 them over to the CDN (save a query, make the world greener, etc.).

    Can we simply change VBSEO_ICON_PREFIX which is currently defined as 'iconimages/' to 'http://www.ourgreatcdn.net/iconimages/' ?

    Per below?

    Code:
    /var/www/includes# grep VBSEO_ICON_PREFIX *
    config_vbseo.php:    define('VBSEO_ICON_PREFIX',            'iconimages/');
    functions_vbseo.php:vbseo_forum_url($forumid, 0, VBSEO_ICON_PREFIX.$ficon_format),
    functions_vbseo.php:vbseo_thread_url($threadid, 0, VBSEO_ICON_PREFIX.$ticon_format),
    Thanks.

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

    yes, that should work.

  3. #3
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Hmmmm. Thanks. I tried it... but it does not work. vbSEO puts a leading "/" in front of the URL :-(

    Like this ....

    Code:
    12.109.151.111 - - [25/Aug/2009:21:19:39 +0100] "GET /http://our.greatcdn.net/iconimages/.....
    Any ideas how to get around this problem without during the 301 boogie wooie?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    How does the link look on your forum without Tree icon rewrite or with vBSEO disabled? Like this?
    HTML Code:
    <img src="images/misc/navbits_finallink.gif" />..

  5. #5
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Not sure and don't want to disable vBSEO to find out, LOL.

    But I can tell you that we have changed all the style variables to the CDN and have the image directory (from the style vars) serving off the CDN nicely.

    Also, FYI...

    grep navbits_finallink.gif access.log

    yields no result, I assume since vBSEO is running...

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Please try to disable "Tree icon rewrite" option in vBSEO CP->URL Rewrites->Forum URLs.

  7. #7
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    FWIW, just about the *only* images we have not been able to move to our CDN are the ones where the path is set by vBSEO, like "iconimages".

    All others we have moved to the CDN either by changing the vb style vars or from two simple RRs, (one for client script and one for custom avatars).

    It seems that vBSEO is not very "CDN friendly" because just about the only images that are being served from the server and not the CDN are based on a path set by vBSEO ...

    vBSEO adds the leading slash it seems, without checking if the URL begins with "http://".... so it appears.

  8. #8
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Please try to disable "Tree icon rewrite" option in vBSEO CP->URL Rewrites->Forum URLs.
    Are there any side effects to disabling this on a busy server?

  9. #9
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Please try to disable "Tree icon rewrite" option in vBSEO CP->URL Rewrites->Forum URLs.
    We are running [Patent Pending] vBSEO 3.2.0 - and cannot find the option you mention in the vBSEO Admin Control Panel

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Are there any side effects to disabling this on a busy server?
    It only affects URLs of those icons at the top of shothread/forumdisplay pages (they will be reset to default ones).

    Please search for "Rewrite Nav Bullet Image URLs".

  11. #11
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Please search for "Rewrite Nav Bullet Image URLs".
    Sorry, there is no option as above in the 3.2.0 vBSEO admincp.....

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Did you click "+" to expand URL formats settings?

  13. #13
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Did you click "+" to expand URL formats settings?
    Yes, I clicked "+" searched, etc etc.... it does not exist in the 3.2 vBSEO AdminCP.

    Did you actually open a 3.2.0 CP and confirm this? If so, please upload a screen shot of a 3.2.0 CP with this option because we really, really don't have it, LOL

  14. #14
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Please open a ticket with vBSEO CP password to check this further.

  15. #15
    Member
    Real Name
    Hugh O'Hare
    Join Date
    Jun 2007
    Posts
    69
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Please open a ticket with vBSEO CP password to check this further.
    Ah... we changed browers and found it.... thanks..... (wierd)

Page 1 of 2 1 2 LastLast

Posting Permissions

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