Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem here, after 4.4 update, sometimes pages with many comments don’t show the comments!
    The interesting thing is that as soon as someone submits a comment, the rest of comments show up!

    Thread Starter arash_hemmat

    (@arash_hemmat)

    I’ve investigated the problem and found out that the problem is not with the Nginx, the problem was that our website address begins with www however in WPSR_redirect function the method you used to get the current url is not compatible with websites having www in their address:

    Line 418 seo-redirection.php
    $permalink=$util->get_current_URL();

    which points at:
    Line 167 common/utils.php
    if (array_key_exists(‘HTTPS’,$_SERVER) && $_SERVER[‘HTTPS’] != ‘off’ && $_SERVER[‘HTTPS’] != ”)
    $sname = “https://” . $sname;
    else
    $sname = “https://” . $sname;

    This method creates addresses without www which causes the plugin not to work with my site.

    Anyway the get_current_URL function is too dumb and there are hundreds of better ways to get the current address correctly!
    I hope you have time to update it ASAP.

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