Category: Miscellaneous
-
How to Switch off Cloudflare?
Last updated:
All you have to do is either Once you do this, cloudflare becomes DNS server routing all your traffic to the host ip address. Before you do that remember your SSL installed at the local server must be working properly. You dont need to change name server records. After you do this, Cloudflare services such…
-
Strange drop in Google rankings with Cloudflare
Last updated:
Cloudflare could cause drop in Google SERPS positions if there is incorrect host configuration. Technically the traffic passes through the proxy (filtered by several layers and firewall rules). Infact cloudflare can influence rankings. For many small sites you dont even need cloudflare. Google has said speed is not everything. A decade ago, a web connection…
-
Renew SSL in bitnami using certbot
Last updated:
Quite often you get plugin error when renewing your ssl using certbot in amazon lightsail (bitnami) Here is the error Cert is due for renewal, auto-renewing…Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.The error was: PluginError(‘An authentication script must be provided with –manual-auth-hook when…
-
Cleanup strings and numbers wrapped in brackets
Last updated:
A simple sed command to remove string and numbers wrapped inside brackets [ ] to cleanup your text or csv data. For example occurrences such as [1123] and [apples] will be removed by this command. This command takes input and creates a cleaned file
-
Handling 301 Redirect with Cloudflare
Last updated:
Cloudflare handles 301 redirects super easy on the top layer. Lately we encountered unique problem of removing amp pages and doing 301 direct of all canonical URLs. We received proper canonical tag warnings in google because of this and hurt our rankings. Cloudflare did it on the fly. No requirement to use plugins that overload…
-
Disable Bot fight mode in Cloudflare
Last updated:
Enabling bot fight mode may hurt your SEO and ability to get new links, also discovery if crawled by unknown bots. Be careful how you use it. In my case i found it hurt my organic rankings after enabling it for a year. You are better off disabling this option in cloudflare. If you are…
-
How to connect to mysql in lightsail
Last updated:
If you have lightsail instance, it is super easy to connect to mariadb (or mysql) installed with bitnami. First take the password by cating Then connect The above command could be deprecated, use with mariadb You dont need phpmyadmin. This is the rightway to avoid error cannot connect to socket.
-
Fix:WordPress URLs leaks IP address
Last updated:
If you see wordpress URLs exposes ip address of your server despite being in cloudflare, go modify wp-config.php to make these setting In most cases, this should resolve the problem. Make sure you go to WordPress > General settings > and check the domain name has https not http. You also have to save again…
-
Investigate these culprits if you see drop in google rankings.
Last updated:
Google could penalize your sitealgorithmically, if they see any site issues with hosting. Cloudflare, and other plugin such as Wp-rocket or Wordfence could just be suspects. Investigate thoroughly. Cloudflare is used by everyone, much data flows through their proxy. It could have counter effect. Possible the assigned ip has history of blacklist. Investigate property if…
-
WordPress code to echo last modified date
Last updated:
All you need to do is just edit theme file and place this one line code. You dont need heavy plugins to do this job. Edit single.php and page.php, place it.