Moderator
James Huff
(@macmanx)
Volunteer Moderator
This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty-One theme. If the problem goes away, enable them one by one to identify the source of the problem.
If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.
Hi @macmanx Thanks for the Response.
I have tried everything that you’ve suggested. But the problem remains same.
And, After installing Health Check, I am getting an improvement suggestion i.e. REST API encountered an unexpected result
For your reference: https://prnt.sc/1e54rco
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.
Thanks @macmanx
The issue has been resolved.
There was an error in my .htaccess file. I have just installed a fresh .htaccess file and everything is good now. 🙂
# 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`