Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] using local subdomain and ftp for 'CDN'

  • Resolved efikim


    I’ve tried setting up a subdomain as an FTP CDN, and managed to get it to work, but now I’m wondering if I need to copy some of the htaccess code from the blog subdomain to the static subdomain

    My blog is in one subdomain –
    I’ve the static data in another subdomain – and set up an ftp user account for it
    It works, and W3C can transfer files without any problems (other than it has to use a passive FTP connection)
    The .htaccess file in the static subdomain contains the command ‘rewrite engine off’ (this is needed to avoid one of the rules in the .htaccess for the main site), but thats all at present

    It works, but I wonder if some of the stuff added to .htaccess for the blog would also be desirable for the static subdomain. (I guess that the usual setup would have the static subdomain as a subdirectory of the blog, and so inherit the .htaccess settings; this isn’t the case here)

    On the positive side, the tool to move everything into the media library and update all the posts is great (especially for cleaning up all the hotlinked files!) – that alone will speed up another older blog I have.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve transferred the “W3TC Browser Cache” section across as it looked like it should be used and it makes a significant difference.

    Plugin Author Frederick Townes


    If nothing is in your failed transfer queue. Can you submit a bug submission form from the support tab of the plugin?

    I think its working properly now that I’ve updated the .htaccess file.
    (I didn’t notice an option to generate the .htaccess file for the cdn directory automatically, but may have missed it, or my directory configuration may not be what you’d envisaged.)
    (what was needed was the file type, expiry time, and pragma/cache control stuff for the static files)

    Plugin Author Frederick Townes


    There’s no option to generate it, it’s automatically uploaded to your servers root directory in self-hosted mode. Again if it didn’t work like that, please submit a bug submission form.

    Thanks frederick – submission form sent

    Plugin Author Frederick Townes



Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: W3 Total Cache] using local subdomain and ftp for 'CDN'’ is closed to new replies.