Update WordPress from UNIX Shell Prompt
Need to update WordPress from UNIX shell prompt? Set the current directory to the root folder of WordPress installation: cd /var/www/wpsite.com/htdocs/ Now type these commands to update WordPress to...
View ArticleUpdate a WordPress Plugin via UNIX Shell Prompt
Need to update a WordPress plugin via UNIX shell prompt? Open the /wp-content/plugins directory, example: cd /var/www/wpsite.com/htdocs/wp-content/plugins Let’s say you need to update WordPress SEO...
View ArticleConstant WP_POST_REVISIONS already defined
If you get this warning message in your WordPress website: Notice: Constant WP_POST_REVISIONS already defined in /var/www/wordpress/wp-config.php on line 95 Make sure that the definition of the...
View ArticleDisable WordPress Embeds
Some users have reported that the json URLs are sometimes indexed by Google: http://www.site.com/wp-json/oembed/1.0/embed?url=http%3A... To disable WordPress embeds you can use this plugin:...
View ArticleWordPress Migrate from HTTP to HTTPS
Simple guide to migrate WordPress from HTTP to HTTPS: 1) Install free SSL certificate with Lets Encrypt 2) Enable SSL HTTP/2 for best performances 3) Change WordPress Site URL Open the...
View ArticleWordPress Archive Page for Custom Post Type
Get archive link for a specific post type: The post WordPress Archive Page for Custom Post Type appeared first on Query Admin.
View ArticleIntegrate Disqus on WordPress programmatically
To integrate Disqus programmatically on WordPress single.php just set: var disqus_config = function () { this.page.url = ''; // Replace PAGE_URL with your page's canonical URL variable...
View ArticleHtaccess file for WordPress websites
Create a .htaccess file on the root directory of your website. Then copy the content below on the .htaccess file: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L]...
View ArticleHow to Downgrade WordPress to an Older Version
Today I installed WordPress 5.1.1 and it was a total mess. I had issues when publishing new posts, it was slower than v4.9.8, etc. So I decided to downgrade to v4.9.8 and to do this I installed: WP...
View ArticleCreate Custom Rest Endpoints for WP Rest API
I found a very nice WordPress plugin that can be used to add custom rest endpoints for WP Rest API without touching the PHP code! You can complex custom routes easily, for example you can create a GET...
View Article