Guest Mode failed to test

Plugin Support
qtwrk

(@qtwrk)

this most likely due to some security plugin blocked this request, does the file actually exist on your file system ?

I detailed the problem description and added the Report number.
guest.vary.php is definitely in the litespeed-cache directory, and I have deleted the security plugin:aiowps. However, when accessing guest.vary.php, 404 is still returned.

Plugin Support
qtwrk

(@qtwrk)

yeah sorry , seems I replied before you edited it

if file exists as you can see in FTP or file manager, and it can not be accessed as return 404 , that means something in your server (apache conf or htaccess) rewrote that request to 404

check if you see any .htaccess in ./wp-content/ and /wp-content/plugin/ and what is the content

if no htaccess on these 2 dir , then sadly I am afraid there is nothing more I can do about it , this will need your hosting provider to check for you , as they have server access.

Thank qtwrk for your prompt reply!

.htaccess in ./wp-content/:

<FilesMatch ".(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|suspected)$">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "^(index.php|credits.php|customize.php|edit-comments.php|edit-tags.php|edit.php|checkbox.php|export.php|input.php|link.php|load-scripts.php|load-styles.php|dropdown.php|menu.php|nav-menus.php|network.php|options-discussion.php|options-general.php|options-permalink.php|options-privacy.php|options-reading.php|options-writing.php|plugins.php|post-new.php|post.php|privacy.php|profile.php|site-health.php|term.php|text.php|themes.php|tools.php|update-core.php|user-edit.php|user-new.php|users.php|wp-links.php|wp-login.php|wp-signup.php)$">
Order allow,deny
Allow from all
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

There is no .htaccess file in the /wp-content/plugins/

Thanks for the reminder,

I modified the .htaccess file in ./wp-content/ ,now I can access guest.vary.php and Guest Mode testing result: Guest Mode passed testing

Thanks again!

  • This reply was modified 15 minutes ago by bennypan.

Plugin Support
qtwrk

(@qtwrk)

try remove or rename /wp-content/.htaccess , or at least comment out this section.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer