Disable WP Search Feature
If you do not need the search feature on your WordPress site, you can remove it entirely with this code snippet.
Wordpress Code Tricks Bible to fix and modify all!
If you do not need the search feature on your WordPress site, you can remove it entirely with this code snippet.
Add code snippet to functions.php of your theme (chid theme preferible) This code will show a message like next one for not logged users:{“code”:”rest_not_logged_in”,”message”:”You are not currently logged in.”,”data”:{“status”:401}} Complete Disable WP REST API You can completely disable REST API if you will not edit posts or pages (will faill when create or edit, simply … Read more
Some servers do not came with classic configurations, like server from one.com, where as default when a visitor goes to url, shows error 403 or show files list. This happen due bad Apache .htaccess config, where do not have a rule to know wich file open by default when visitor come. Add to .htaccess in … Read more
Add to .htaccess of your web main root folder Use www in web url Disable www in web url
Add to .htaccess
Add to .htaccess If you do not see changes, try to Enable Expire Headers option 2