• Hello,

    I would appreciate help on this, asap.. please.

    In 2018, a client did not want to continue with us. So we deleted him off, however, now he wants to come back. Upon this, we restored the full cPanel backup. However, there were some issues. One of them was that the “class-wp-meta-query.php” file was missing. I added a new one from a fresh WordPress installation, to the server, however, it is showing “404” now. Cannot access wp-admin or anything.

    I am just testing it on the server IP (not the domain) before the client links his domain back.

    Thanks guys.

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

Viewing 1 replies (of 1 total)
  • 404 errors of this kind are handled by the server. You’re probably missing the .htaccess rules to point all requests to WordPress’ index.php file. This file can be recreated by going to wp-admin -> settings -> permalinks and clicking “save”.

    Alternatively you can try manually recreating with the default content below:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
Viewing 1 replies (of 1 total)

The topic ‘Restored backup.. 404 after adding new class-wp-meta-query.php’ is closed to new replies.