• Hi,

    I’m a long time user of WPSC so am very familiar with it. But I’ve now run into an issue that I can’t seem to fix myself.

    I got a site in ARABIC, and the permalink structure is /%postname%/

    In the supercache dir, however, some posts are saved correctly as urlencoded whereas some are not urlencoded. It seems to be random.

    So I got files like this (a small sample):

    %d9%88%d8%b2%d9%8a%d8%b1-%d8%a7%d9%84%d8%ae%d8%a7%d8%b1%d8%ac%d9%8a%d8%a9-%d8%a7%d9%84%d8%a8%d9%88%d9%84%d9%86%d8%af%d9%8a-%d8%b1%d9%88%d8%b3%d9%8a%d8%a7-%d8%b3%d8%aa%d9%88%d8%a7%d8%ac%d9%87-%d8%b9
    %d9%88%d8%b2%d9%8a%d8%b1-%d8%a7%d9%84%d8%af%d9%81%d8%a7%d8%b9-%d8%a7%d9%84%d8%b9%d9%85%d9%84%d9%8a%d8%a9-%d8%a7%d9%84%d8%a8%d8%ad%d8%b1%d9%8a%d8%a9-%d9%85%d9%86%d8%b9%d8%aa-%d8%aa%d9%87%d8%af%d9%8a
    %d9%88%d8%b2%d9%8a%d8%b1-%d8%a7%d9%84%d9%85%d8%a7%d9%84%d9%8a%d8%a9-%d8%a7%d9%84%d8%ad%d9%83%d9%88%d9%86%d9%87-%d8%ae%d8%b0%d9%84%d8%aa-%d8%a7%d9%84%d8%b9%d8%b1%d8%a8
    %d9%88%d8%b5%d9%84%d8%aa-%d8%ad%d8%b5%d9%8a%d9%84%d8%a9-%d8%a7%d9%84%d9%82%d8%aa%d9%84%d9%89-%d9%81%d9%8a-%d9%83%d9%8a%d9%8a%d9%81-%d8%a7%d9%84%d9%89-70
    %d9%8a%d9%82%d8%af%d9%85-%d8%a5%d9%8a%d8%a8%d8%a7%d9%83-%d9%84%d9%84%d8%af%d9%8a%d9%85%d9%82%d8%b1%d8%a7%d8%b7%d9%8a%d9%8a%d9%86-%d9%85%d8%ae%d8%b1%d8%ac-%d9%85%d9%86-%d9%85%d9%88%d8%b6%d9%88%d8%b9
    %d9%8a%d9%86%d8%b4%d8%b1-%d9%83%d8%a7%d8%b1%d9%8a%d9%83%d8%a7%d8%aa%d9%8a%d8%b1-%d9%84%d8%b1%d8%b3%d9%91%d8%a7%d9%85-%d8%a5%d8%b3%d8%b1%d8%a7%d8%a6%d9%8a%d9%84%d9%8a-%d8%b9%d9%84%d9%89-%d8%ba%d9%84
    %d9%8a%d9%88%d9%84%d9%8a%d8%a7-%d8%aa%d9%8a%d9%85%d9%88%d8%b4%d9%8a%d9%86%d9%83%d9%88-%d8%a7%d9%85%d8%b1%d8%a3%d8%a9-%d8%ad%d8%af%d9%8a%d8%af%d9%8a%d8%a9-%d9%81%d9%8a-%d8%a7%d9%84%d8%b3%d8%ac
    feed
    index.html
    index.html.gz
    search
    ادانة-الشيخ-رائد-صلاح-لمدة-8-أشهر-للتحري
    البيت-الأبيض-المحادثات-النوويه-مناسب
    توقيف-10-مثليين-من-الجنسين-خلال-حفل-تعار
    ليبرمان-الفلسطينيون-يضرون-بمحادثات-ا
    محتمل-الغاء-زيارة-رئيس-الوزراء-البريط
    مسيحيو-سوريا-يوقعون-على-معاهدة-طاعة-لل

    The problem with this is that I cannot prune the cache for the non-urlencoded posts upon update – and in fact these posts (whose cache name is not urlencoded) get stuck in the cache unless I manually delete them on the server (I am on preload mode so no GC here).

    Could you help here please? Advise where to look in the plugin’s scripts? Something?

    Thank you,

    Bira

    https://wordpress.org/plugins/wp-super-cache/

Viewing 1 replies (of 1 total)
  • You’ll probably need to use the legacy caching in the plugin instead of supercache. It’s not as fast but should work.

    I don’t have much experience with these types of URLs but when I tried to replicate the problem on a test server it worked ok. 🙁

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with non-Latin filenames’ is closed to new replies.