WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Caching multi language sites, its possible? (2 posts)

  1. intrd
    Member
    Posted 1 year ago #

    Hello, I have a site which the language is based on user locale defined by ('WPLANG' ...
    Would you give me any tips how to use wp super cache to cache this type of multi language site?

    thx donncha!

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. intrd
    Member
    Posted 1 year ago #

    i've solved the problem with this:

    if (WPLANG=="en_US"){
    	$cache_path = WP_CONTENT_DIR . '/cache/';
    }else{
    	$cache_path = WP_CONTENT_DIR . '/cache/'.WPLANG.'/';
    }

    thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic