Results 1 to 9 of 9

Configure Amazon S3 with vBulletin

This is a discussion on Configure Amazon S3 with vBulletin within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello, I am trying to use Amazon S3 to store my static files, as javascript, images, css, to improve the ...

  1. #1
    Senior Member
    Real Name
    Jarod
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    184
    Liked
    1 times

    Question Configure Amazon S3 with vBulletin

    Hello, I am trying to use Amazon S3 to store my static files, as javascript, images, css, to improve the performance and the speed of my site.
    I puarchased a new domain, I configure it with a Record CNAME to point the my account on Amazon S3.
    The problem is that I cannot configure well it with a new path of my javascript, images, etc, on Amazon S3.
    (I use vBulletin 4.0.3)
    To change the path of javascript, I done these modifications, but it doesn't works well:

    ACP vBulletin - Styles & Templates > Replacement Variable Manager > [Add New Replacement Variable]
    • Set Search for Text to href="clientscript
    • Set Replace with Text to href="http://cdn.mysite.com/clientscript


    • Set Search for Text to url("clientscript
    • Set Replace with Text to url("http://cdn.mysite.com/clientscript


    • Set Search for Text to src="clientscript/
    • Set Replace with Text to src="http://cdn.mysite.com/clientscript/

    After these modifications, I see my forum completely distorted.

    Screenshot

    Someone that use Amazon S3 with vBulletin 4, please can explain me where is the problem?
    How is possible replace the paths of javascript, css and images?

    Thank you

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    If you check your page source , you can easily see what causes the issues

    Code:
    <link rel="stylesheet" type="text/css" href="http://w01.freezepage.com/a/12790/41001JFBDPUHMRK/4" />
    
    NoSuchKeyThe specified key does not exist.clientscript/vbulletin_css/style00082l/main-rollup.cssE84F690F92B436C1BiqIL3m/HKSB5ebN3tjxxzXVO5mLx7JGFJaWdA5Omg+LPD62/B0aqBBWRbE6K4KO
    The defined replacement is breaking your css files. You need to manually edit templates and define the path manually.
    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

  3. #3
    Senior Member
    Real Name
    Jarod
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    184
    Liked
    1 times
    Hello Mert, but in that image I tried only to change "javascript", not css. How is possible that the error regarding also the .css?

  4. #4
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Quote Originally Posted by jarod1981® View Post
    Hello Mert, but in that image I tried only to change "javascript", not css. How is possible that the error regarding also the .css?
    Set Search for Text to href="clientscript
    Set Replace with Text to href="http://cdn.mysite.com/clientscript

    The above replacement also replaces css files which is causing the style issue.
    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

  5. #5
    Senior Member
    Real Name
    Jarod
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    184
    Liked
    1 times
    Hello Lizard, I found only two templates with that text:

    assetmanager
    BLOG

    I changed the text with the path of my javascript on Amazon S3, now the forum and cms doesn't give any error, but with "Page Speed" and "Yslow", I see always my javascript on my domain and not on Amazon S3.
    How is possible?

    If you want, you can see it online on my forum, select the "VB4 Default Skin", I am trying on this skin.

    Lizard for change also all my images, Can I use same modification?
    Set Search for Text to href="images
    Set Replace with Text to href="http://cdn.mysite.com/images
    Thank you Lizard

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You may need to re-build template cache in the maintence tools.

  7. #7
    Senior Member
    Real Name
    Jarod
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    184
    Liked
    1 times
    Hello Brian, I find only "Rebuild Post Cache": is this?

  8. #8
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Rebuild Styles is what you want

  9. #9
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    I don't know why you still ask but you can't keep the following replacement in place. It will never work like that

    Set Search for Text to href="clientscript
    Set Replace with Text to href="http://cdn.mysite.com/clientscript
    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

Similar Threads

  1. Amazon Partner ID und vBSEO
    By StarFire in forum Deutsch
    Replies: 5
    Last Post: 09-04-2008, 08:54 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
  •