Results 1 to 11 of 11

Serving static content from cookieless domain - need help

This is a discussion on Serving static content from cookieless domain - need help within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello I have a problem with optimizing my vBulletin 4.0.3 Forum. my forum runs on Patientenfragen.net - wir haben die ...

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

    Question Serving static content from cookieless domain - need help

    Hello

    I have a problem with optimizing my vBulletin 4.0.3 Forum.

    my forum runs on Patientenfragen.net - wir haben die Antworten

    I have created 6 subdomains for static content (Images only currently)

    http://static1.patientenfragen.net/
    http://static2.patientenfragen.net/

    I have set the cookie domain for my forum in the acp cookie settings to use patientenfragen.net as cookie domain instead of .patientenfragen.net

    In my understanding this should exclude the subdomains from using the vbulletin cookie.

    On the subdomains there is no single html nor php file.

    Only the images and a htaccess with the following content:

    Code:
    AddDefaultCharset Off 
    FileETag None
    
    ExpiresActive On
    <IfModule mod_expires.c>
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/x-icon A2592000
    ExpiresByType text/plain A2592000
    ExpiresByType text/css A2592000
    ExpiresByType application/x-javascript A2592000
    ExpiresByType application/pdf A2592000
    ExpiresByType application/x-shockwave-flash A2592000
    </IfModule>
    After clearing my browser cache, apc cache and delete all cookies from my website in my browser PageSpeed still tells me that the static... subdomains serve cookies.

    The cookies still served for .patientenfragen.net are:
    - lastvisit
    - np_notices_displayed
    - lastactivity
    - sessionhash
    - cpsession
    - userid
    - password

    as well as the google analytics cookies
    - _utma
    - _utmb
    - _utmc
    - _utmz

    I use the analytics code suggested by digitalpoint and changed .domain.com to domain.com:

    Code:
    <script type="text/javascript">
    google_analytics_uacct = "UA-XXXXX-X";google_analytics_domain_name = "patientenfragen.net";var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-XXXXX-X'],['_setDomainName', 'patientenfragen.net'],['_trackPageview']);(function() {var ga = document.createElement('script');ga.type = 'text/javascript';ga.async = true;ga.src = 'http://www.google-analytics.com/ga.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);})();
    </script>
    How can I fix this?

    Best regards

    StarBuG

  2. #2
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    Solved the problem by defining Patientenfragen.net - wir haben die Antworten as cookie domain.

    Just in case some people have the same issue

    If anyone thinks that the above move is not a good Idea I am all ears, currently I can't see a downside to it

    StarBuG

  3. #3
    Member
    Real Name
    Marcus Maciel
    Join Date
    Oct 2006
    Location
    Brazil
    Posts
    78
    Liked
    2 times
    starbug,


    are you using vbseo to replace static content urls with new domains ?
    how are you handling with attachments ?

  4. #4
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    no I simply use the new domain for static content
    Attachments are still stored on my main domain

  5. #5
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Can you create a manual for this?

  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
    Kolbi, see this in the pre-release forum.
    http://www.vbseo.com/f252/free-maxcd...tml#post293908

  7. #7
    Member
    Real Name
    Marcus Maciel
    Join Date
    Oct 2006
    Location
    Brazil
    Posts
    78
    Liked
    2 times
    brian how can i get access to this forum ?

  8. #8
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Join the vBSEO Pre-Release Team!

    But I guess it's to late now.

  9. #9
    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
    we are still accepting applications. We have a solid team right now, but expect a few to drop off in time.

  10. #10
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Well, I'm glad to be corrected.
    Last chance to get vBSEO 3.6 before ANYONE else!
    Posted 29th of November so I thought it might be to late.

  11. #11
    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
    It's a marketing technique! :P

Similar Threads

  1. vBulletin 4.x Can't Achieve Cookieless Sub-domain
    By thincom2000 in forum Bug Reporting
    Replies: 4
    Last Post: 04-03-2010, 02:16 AM
  2. Integtraing a content site with a different domain?
    By Pepsicola in forum General Discussion
    Replies: 3
    Last Post: 12-02-2009, 12:26 AM
  3. static content
    By lawstudent in forum General Discussion
    Replies: 2
    Last Post: 05-03-2009, 01:04 AM
  4. Double URLS for static pages (duplicate content)
    By webdzinez in forum General Discussion
    Replies: 11
    Last Post: 11-25-2008, 04:47 PM
  5. rewrite one static url to another static url
    By BrettMo in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 03-05-2007, 10:59 PM

Posting Permissions

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