Here are some useful information on PHP 7.4 update.
Please check if there will be any impact on your sites.
There are some things that are going away, so any rules that are added to .htaccess will no longer work.
You can check this article here https://wpengine.com/support/htaccess-deprecation/ Other than that there isn’t much other changes, you can find here https://www.php.net/ChangeLog-7.php
As of right now it’s not a mandatory update, But you can try it out on staging or dev site to see its impact.
https://wpengine.com/blog/a-first-look-at-php-7-4/ Here is more user friendly representation regarding changes in 7.4. Look at the “Deprecations” and “Performance Enhancements” sections.
*** If your site has redirects in the .htaccess, they will need to be relocated in order to remain both functional and optimized 🙁
Add the following code in 404.php file in your theme’s folder. And If there is no 404.php file available in your theme, then create a blank php file. Paste the following code in there:
header("HTTP/1.1 301 Moved Permanently");
You can verify the PHP version by creating a file with name phpinfo.php under your website with following code:
Make sure you create this file on the root directory and then access that page in browser to verify your PHP version.
As you all know WordPress allow us to edit files from the WordPress Admin Dashboad. This is a good feature. But it can be harmful for your website. If any hackers gain access to your WordPress admin panel, they can inject subtle, malicious code to your theme and plugin.
To disable the ability to edit plugins and the theme files, Just paste the following code in your wp-config.php file.