Category

Wordpress

Category

I have been using WordPress for a good time. My almost websites are WordPress websites, and I would really want to suggest you opt for WordPress hosting over regular hosting services. WordPress is an easy to use CMS. It provides simple functionality, plus has a good number of websites created on the same. If you are a beginner with a WordPress site, you must know it has unique hosting. Like every other website needs a…

WordPress allows you to enforce SSL / HTTPS for the admin area by entering the following line into your wp-config.php file. define(‘FORCE_SSL_ADMIN’, true); However, in some scenarios this setting alone would cause ‘Too many redirects‘ error. To fix this, you will need to add the following code to your wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’. define(‘FORCE_SSL_ADMIN’, true); // in some setups HTTP_X_FORWARDED_PROTO might contain // a comma-separated…

How to charge WooCommerce shipping by item WooCommerce shipping per item Many shop owners use the built-in WooCommerce shipping zones and rates to create their shipping fee structures. You can find these under WooCommerce > Settings > Shipping. While more complex shipping like this can’t be done with the core tools, you could create tiered shipping with the Table Rate Shipping extension for WooCommerce. This plugin lets you create rates per item count, so you could do a…

Wordpress plugin install: Could not create directory You need to change the permission of the directory At first change the user HTML folder (replace yourcomputerusername)sudo chown yourcomputerusername:yourcomputerusername /var/www/htmlNext change the permission for the usercd /var/www/htmlsudo chmod -R goa=rwx wordpressorsudo chmod -R 777 wordpress/wp-content

Access PhpMyAdmin On Linux And MacOS To access the application using your Web browser, create an SSH tunnel, as described below. Open a new terminal window on your local system (for example, using “Finder -> Applications -> Utilities -> Terminal” in MacOS or the Dash in Ubuntu).Make sure that you have your SSH credentials (.pem key file) in hand.Run the following command to configure the SSH tunnel using the SSH key file. Remember to replace KEYFILE with the…

index php remove in ubuntu 20.04 wordpress Allow overriding htaccess in Apache Configuration (Command) sudo nano /etc/apache2/apache2.conf and edit the file & change to AllowOverride All Enabled apache mod rewrite (Command) sudo a2enmod rewrite Restart Apache (Command) sudo /etc/init.d/apache2 restart Add code inside of .htaccess RewriteEngine on RewriteCond $1 !^(index.php) RewriteRule ^(.*)$ index.php/$1 [L]

UPDATE wp_options SET option_value = replace(option_value, ‘oldurl.com’, ‘newurl.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts SET guid = replace(guid, ‘oldurl.com’,’newurl.com’); UPDATE wp_posts SET post_content = replace(post_content, ‘oldurl.com’, ‘newurl.com’); UPDATE wp_postmeta SET meta_value = replace(meta_value,’oldurl.com’,’newurl.com’); Replace oldurl.com with your current WordPress address and newurl.com with your new WordPress address.