• hi!

    If turn on the “WP OPTIMIZE” plugin with “WP-FFPC” enabled, the redirect of pages with a slash to without does not work. WordPress displaying warning:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_ffpc_redirect_callback’ not found or invalid function name in /home/k/user/website/public_html/wp-includes/class-wp-hook.php on line 288

    When you turn off one of them, everything works correctly. I can’t understand yet why they conflict and how to solve it.

    Please, need support.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter KR. Laboratories

    (@krashlab)

    I solved this problem – add in .htaccess 301 rediret manually from non-slash to slash URLs:

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*[^/])$ /$1/ [L,R=301]

    </IfModule>

    But I don’t think this is the perfect solution for this problem. Web developers need to test this case, because it occurs on absolutely all sites with WP-FFPC + WP-OPTIMIZE

    Thread Starter KR. Laboratories

    (@krashlab)

    I would like to add more information to this issue. I noticed, that this problem with redirect occurs through the advanced-cache.php file. If in WP-FFPC plugin Save changes again – this file starts working correct and there are no problems. I think it’s a bug. Please, fix it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘conflict with WP OPTIMIZE’ is closed to new replies.