• Resolved naosim

    (@naosim)


    Hi!

    I just changed my host and LS has a 404 error in incognito mode.
    Already put the following line in wp-content without success:

    define( ‘LSCWP_DIR’, /absolute/path/to/your-real/wp-content/plugins/litespeed-cache/ ) ;

    Report number is XEBLDPJD

    Can you help me to fix it?

    Thanks in advance for your help!

    Simon

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try uninstall and reinstall the plugin

    and then by ftp or file manager, make sure /wp-content/plugins/litespeed-cache/guest.vary.php file exists.

    Thread Starter naosim

    (@naosim)

    Hi Qtwrk,

    Thanks for your answer. I uninstalled the plugin and cleared the tables. After installation, the file does exist but the problem persists :-/

    Plugin Support qtwrk

    (@qtwrk)

    any .htaccess file in wp-content or wp-content/plugins ?

    if you manually create a php file , like test.php with code <?php echo "test"; ?>

    put it to somewhere like /wp-content/plugins/test/test.php

    then access it by browser, does it work ?

    Thread Starter naosim

    (@naosim)

    Hi!

    Yes, there is a .htaccess in wp-content

    It contains a code to block direct access to PHP files.

    `# Bloque les accès directs aux fichiers PHP
    <FilesMatch “\.(?i:php)$”>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    </FilesMatch>

    I disabled it and guest.vary runs!

    Thank you very much!

    Simon

    • This reply was modified 2 years, 4 months ago by naosim.
    Thread Starter naosim

    (@naosim)

    The test gives back:

    {\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf470 {\fonttbl\f0\fnil\fcharset0 Consolas;} {\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red236\green236\blue236;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \deftab720 \pard\pardeftab720\sl320\partightenfactor0 \f0\fs28 \cf2 \cb3 \expnd0\expndtw0\kerning0 \outl0\strokewidth0 \strokec2 test}

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘404 error with guest.vary.php’ is closed to new replies.