• Hello! I am a new web master for a fairly large website, so SuperCache is very new to me.

    I am working on getting a testing server up on our AWS Cloud system, and I have duplicated everything onto this second testing server.

    Upon doing so, however, the front page works fine – but clicking on ANY links brings me to a 404. The pages are all cached, when I look in the directory (wp-content/cache/supercache/), but the 404 insists the page does not exist.

    The .htaccess is exactly the same, the only difference appears that the permissions are a little different from the live server and this one. The live server’s .htaccess is set to -rw-r–r– while .htaccess on the testing is -rw-rw-r–.

    I can’t seem to see what might break the redirects like this.

    Thank you! I have searched and searched the forum and have not found a solution.

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

Viewing 1 replies (of 1 total)
  • Thread Starter fructosecornsyrup

    (@fructosecornsyrup)

    Forget about the permissions thing I said earlier.

    Under /wp-content I have the cached files in /cache/supercache/http://www.mywebsite.com/blah

    The test server is obviously not http://www.mywebsite.com. Would a path in the .htaccess file redirect it to /cache/supercache/http://www.myTESTwebsite.com/blah ?

    This is my debug.log

    Any help would be much appreciated.

    [12-May-2016 20:31:04 UTC] PHP Warning:  include(/var/www/html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:04 UTC] PHP Warning:  include(): Failed opening '/var/www/html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:05 UTC] PHP Warning:  include(/var/www/html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:05 UTC] PHP Warning:  include(): Failed opening '/var/www/html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::create_post_type() should not be called statically in /var/www/html/wp-includes/plugin.php on line 525
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::create_post_type() should not be called statically in /var/www/html/wp-includes/plugin.php on line 525
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::template_redirect() should not be called statically in /var/www/html/wp-includes/plugin.php on line 525
    [12-May-2016 20:31:05 UTC] PHP Notice:  Undefined index: query in /var/www/html/wp-content/plugins/ticketing/ticketing.php on line 359
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method ftheme::enqueue_scripts() should not be called statically in /var/www/html/wp-includes/plugin.php on line 525
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_order() should not be called statically in /var/www/html/wp-includes/plugin.php on line 601
    [12-May-2016 20:31:05 UTC] PHP Warning:  include(/var/www/html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:05 UTC] PHP Warning:  include(): Failed opening '/var/www/html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:21 UTC] PHP Warning:  include(/var/www/html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:21 UTC] PHP Warning:  include(): Failed opening '/var/www/html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp-settings.php on line 74
    [12-May-2016 20:31:21 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::create_post_type() should not be called statically in /var/www/html/wp-includes/plugin.php on line 525
    [12-May-2016 20:31:21 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method events::admin_init() should not be called statically in /var/www/html/wp-includes/plugin.php on line 525
Viewing 1 replies (of 1 total)
  • The topic ‘Duplicated Server breaks Redirects’ is closed to new replies.