Archives

Disable WordPress Post revisions

Add one of these code into the wp-config.php file. Limit WordPress Post Revisions define(‘AUTOSAVE_INTERVAL’, 300); //seconds define(‘WP_POST_REVISIONS’, 3); Disable WordPress Post Revisions define(‘AUTOSAVE_INTERVAL’, 300); //seconds define(‘WP_POST_REVISIONS’, false); //false is Disable REVISIONS or by adding number limit in amount

How I manage WordPress back-end access limit

Only from an IP Address can access wp-admin or login.php. Add the following code above of all of anything else in your .htaccess and change your IP Address. Choose one of this #Normal server use OR #With Cloudflare use either one of this going to fit you. It’s depend on your sever configuration. If your …

Correct file permissions for wordpress

To set correct permissions you need to use these commands: chown www-data:www-data -R * # Let apache be owner find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x find . -type f -exec chmod 644 {} \; # Change file permissions rw-r–r– Depending on your server configuration you may put …

WordPress nginx rewrite rules

Adding this code in your server block if ($host ~* ^www\.(.*)){ set $host_without_www $1; rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent; } # unless the request is for a valid file, send to bootstrap if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } # enable this location ~ /\.ht { deny all; } farinspace.com

How to Move WordPress From Local Server to Live Site

WPbeginner – Developing a WordPress site locally can help speed up the development process. In the past, we showed you how to install WordPress on your Windows computer using WAMP and on Mac using MAMP. Once you have finished the development on localhost, the next step is to move the site live. In this article, …