• Resolved esemlabel

    (@esemlabel)


    When using plugin on multilanguage site, for example, with qtranslate x plugin with these options enabled:
    – “Use Pre-Path Mode (Default, puts /en/ in front of URL)”
    – “Hide URL language information for default language. (SEO friendly.)”

    you getting 503 on example.com/en/, but you don’t get 503 on root example.com at the same time. It need several times to refresh page before you get 503 on root example.com too.

    Is this a “Maintenance Mode” plugin issue?

    https://wordpress.org/plugins/lj-maintenance-mode/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Lukas Juhas

    (@lukasneptun)

    Hi there,

    I might be worth testing it with all other plugins disabled – leaving just maintenance mode and see if that works. Let me know if you have still problems. It just might be some plugin incompatibility.

    If it’s different plugin that is causing an issue – if you give me some feedback I’ll be happy to look in to it – to make plugin compatible.

    Caching side of your problem might be either a different plugin that caching your site, possibly server? This I’m quite sure is not MM plugin issue.

    Thanks,

    Lukas

    Thread Starter esemlabel

    (@esemlabel)

    I’m not using caching plugins or others right now. only MM and qt for testing.
    But I use cache headers in .htaccess

    <IfModule mod_expires.c>
    ExpiresActive On

    I will try to figure it out by my self, but for now, setting nocache_headers() right before wp_die() (in maintenance() function) seems to resolve issue.

    Update: it doesnt work. will look forward..

    Plugin Author Lukas Juhas

    (@lukasneptun)

    I see, how about

    header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");
    Thread Starter esemlabel

    (@esemlabel)

    Unfortunately, but no.
    I wrote to qt developers. Maybe they have some ideas.

    The problem not just on seeing content on site root before refreshing page, but in huge amoung of ajax function, that users can launch from my site root. So resolving this is quite important.

    Plugin Author Lukas Juhas

    (@lukasneptun)

    Cool, let me know how that goes,

    If I’ll have a chance in upcoming days, I’ll try to set this up on my localhost and try a few things also.

    Thread Starter esemlabel

    (@esemlabel)

    Keep in mind, that this issue didn’t appear on localhost, but is on real host.

    Thread Starter esemlabel

    (@esemlabel)

    Plugin Author Lukas Juhas

    (@lukasneptun)

    Hey there,

    Thank you for this,

    I have added this on github – I cannot say when this will be implemented but it’s in the pipeline.

    https://github.com/lukasjuhas/lj-maintenance-mode/issues/22

    Thanks, I’ll be closing this for now.

    Lukas

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Multilanguage site with pre-path mode showes cached version’ is closed to new replies.