WordPress.org

Forums

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

  1. intrd
    Member
    Posted 2 years 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 2 years 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

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic