Crafting Web Experiences
//
If you have shell access to your server, you can change file permissions recursively with the following commands. For directories: For files: To do them both in current folder recursively: User correction: Full combined permission correction for current WordPress root folder:
WP-CLI WP-ENV Docker Compose
I can categorize the things that can be done to improve performance of a WordPress site as follows. The prioritization can be changed according to the initial testing results. Also, every single item might not be applicable for every WordPress site. Testing and planning phase is very important to decide which tasks need to be…
Create a full backup named “before_maintenance_2020-10-25.zip” Update all the plugins and themes Check if there are any new message on admin dashboard Flush all the caches Check the site on incognito window Contact forms Visual issues Everything else Create a full backup again named “after_maintenance_2020-10-25.zip”
Rule #1: Cache Then… Cache eligibility: Eligible for cacheEdge TTL: Use cache-control header if present, use default Cloudflare caching behavior if notBrowser TTL: Override origin and use this TTL – 1 daySort query string: YesServe stale content while revalidating: YesUse strong ETag headers: Yes Rule #2: Admin No Cache Then… Cache eligibility: Bypass cache
This snippet will allow you to forcefully add any kind of HTML tags into the classic WordPress editor. Between ‘<!– noformat on –>’ and ‘<!– noformat off –>’ tags, WordPress won’t remove any attribute or tag from your content.
https://wordpress.stackexchange.com/questions/346452/how-to-add-custom-taxonomy-in-custom-post-type-permalink
functions.php: Default Layout File(layouts/default.php): Usage on any WordPress Theme File (e.g. 404.php):
SQL: This is for the wp_users table: And this is for admin capabilities: WP-CLI:
Append the following all and deny all NGINX config directives in server context: If your blog located in /blog/ sub-directory, try: Reference: https://www.cyberciti.biz/faq/nginx-block-url-access-all-except-one-ip-address/