List of 5 best SEO plugins for WordPress.

Hi Everyone!

I know that you want your sites to rank higher in search engines like Google, Bing, and Yahoo. And the best way to do it is SEO, but as every good thing takes time, so does SEO.

It may take time, but once it starts to yield results you would just skyrocket from nowhere to the top of the search engines.

As a human being, we love things that automate our life and make it easier in any way. That’s why we all are in love with WP plugins. No matter what our need is? First, we look if a plugin is available for it. And in most of the cases, we find it.

So today I am going to present you with a list of Best SEO plugins for WordPress. 

Best SEO plugins for WordPress:

  • WordPress Yoast SEO – 2000000 installs. This goes without saying that it is one of the best SEO plugins available out there. It has gained its popularity because of its features and simplicity to use. yoast seo image

    Key Features of WordPress SEO By Yoast:

    • Breadcrumbs: Allows you to create simple navigation for users and spiders. Great for internal linking.
    • Meta and Title Tag Optimization: Lets you determine what pages will be shown in the search results.
    • Multi-Site Compatibility: XML Sitemaps work in all setups.   Includes the option to copy settings from blog to blog. 
    • Website SEO Analysis: Checks even the smallest items length of content, meta description existence, and focused keyword usage. Simple green light, red light lets you know where you stand.
    • Snippet Preview:  Lets you to observe how your page will look in search results.
    • Social Integration: Includes SEO Friendly Facebook Open Graph to link SEO and social media together.
    • Great for blogging with a simple green and red light interface.
  • All in One SEO Pack – 2500000 installs. Best for both beginners and developers. all in one seo pack

    Features include:

    • Bad Bot Blocker: Prevents harmful bots from decreasing website speeds.
    • File Editor: Manually edit robots.txt and .htaccess.
    • Import/Export: Imports and exports your settings to share with other sites.
    • Robots.txt: Allows more control over how search spiders navigate your site.
    • Social Media Integration: Adds Open Graph to your site to deliver closer integration between your website or blog and social channels like Facebook and Twitter.
    • Video Sitemap (paid version only): Lets you create and manage a Video XML Sitemap and submit it Google and other search engines.
  • Premium SEO Pack – 1000000 installs. It is a paid plugin and designed to work best with other plugins like Woocommerece and WordPress Multisite. It includes both on-page and off-page optimization. premium seo pack

    Key Features:

    • Facebook Planner: You can post your content on Facebook with the help of this feature.
    • Monitor 404: Monitors the URLs that are referring your visitors to 404 pages.
    • Page Speed Insights: Monitors the page speed of each of your posts or pages on a desktop or mobile devices.
    • SEO Friendly Images: Automatically refreshes all images with relevant ALT tags and Title Attributes.
    • Backlink Builder: With this feature, you can find similar websites to build links to your website.
    • W3C Validator: It empowers you to check the schema markup of your posts, pages, and custom taxonomies.
    • On-Page SEO: Quickly update pages from the post-preview top bar or admin top bar.
    • Pattern SEO: Set patterns for each post type and custom post types.
    • Social Optimization: Open Graph and Twitter Card support.
  • SEOPressor – 700000 installs. Unlike other plugins, this one always remains updated with Google’s algorithm. With the latest update of Rank Brain. seo pressor

    Key Features:

    • Automatic Smart Internet Linking: Add internal links automatically to keep leads and reduce bounce rate.
    • Dynamic Crawler Control: Complete command over how spiders travel through your site.
    • XML Sitemap generator: Helps make your site SEO Friendly.
    • Keyword SEO Score Checker: Monitors the optimized rate of your primary words, up to 3.
    • LSI keywords: Calculates your site’s LSI usage with a proprietary formula.  Suggests ways to improve your LSI keyword use to rank for more words.
    • Readability Score: Did you know that the readability of your website copy may be a ranking factor?
    • Over Optimization Check: Over-stuffing words is now something that will bring red flags from Google, Bing, Yahoo, etc.  Monitors your keyword use and lets you know if overuse becomes a problem
  • SEO Squirrly – 2100000 installs. Specially designed for non-experts. Write content that is reader-friendly and is effective at ranking your site. squirly seo

    Key features:

    • Green Light Means “Good Job!”: Display turns green when you implement an item correctly.
    • Keyword Headline Suggestions: Give suggestions for headlines based on your primary keywords.
    • Content Strategy Tracking: Tracks all areas content strategies.
    • No Automatic Overwrite: Your current SEO settings stay intact during setup.
    • Social SEO AI:  Updated artificial intelligence aids you in developing high-quality content.
    • Weekly Monitoring: Oversees your progress on a weekly basis.

This was all about the best SEO plugins If you are aware of some other plugins that you think this list should have then please comment below.

I will see you in the next post with an awesome topic to talk about.

Thank You.

10 Free Web Hosting Service Providers.

HI Everyone!

Good to see you again. If you have landed on this post then you must be looking for a provider that will host your site for free. I am going to tell you the 10 best free web hosting service providers, So stay tuned.

Isn’t it amazing that even in today’s world you can get almost everything for free? (Note* Free things do have some limitations.)

I am also going to tell you which one is my favorite and why is it so?

I recommend you not to go with free hosting if you are working at a professional level, but for the learning and experimenting purpose or just to have fun.

OK! then let’s begin.

10 Free Web Hosting Service Providers:

  • 000Webhost.com – 2 sites are allowed to run on one account, 2 MySQL database, supports FTP, 100 GB of bandwidth per month & the panel is Cpanel.

 

  • FreeHosting.com – 1  site is allowed on one account, 1 MySQL database, supports FTP, unmetered bandwidth & the panel is Cpanel.

 

  • Byte.host – 1 site is allowed to run on one account, 5 MySQL database, supports FTP, 50 GB of bandwidth per month & the panel is Cpanel, 5 E-mail accounts.

 

  • Awardspace.com – 1 site is allowed to run on one account, 1 MySQL database, supports FTP, 5 GB of bandwidth per month & the panel is Proprietary, 1 E-mail.

 

  • FreeHostingEU– 1 site is allowed to run on one account, 1 MySQL database, supports FTP, 4 GB of bandwidth per month & the panel is Proprietary.

 

  • Free Virtual Server – 1 site is allowed to run on one account, 1 MySQL database, supports FTP, 200 MB of bandwidth per month & the panel is Cpanel.

 

  • Free web hosting No Ads – 1 site is allowed to run on one account, 3 MySQL database, supports FTP, 5 GB of bandwidth per month & the panel is Cpanel.

 

  • U Host Full – 1 site is allowed to run on one account, 2 MySQL database, supports FTP, 100 GB of bandwidth per month & the panel is Cpanel.

 

  • 5 GB Free – 2 sites are allowed to run on one account, 2 MySQL database, supports FTP, unlimited bandwidth per month & the panel is Proprietary.

 

  • Freehostia – 1 site is allowed to run on one account, 1 MySQL database, supports FTP, 4 GB of bandwidth per month & the panel is Proprietary.

These were the 10 best free web hosting service, providers. All of them have their own set of pros and cons. Now let me tell you the one which is my favorite & I have personally been using.

When it comes to free web hosting, I go for 000Webhost.com (always). Now the reason is simple, It has the best C-panel among all the free web hosting providers also it is the most user-friendly.

It works the best for me but may not be the best for you. So it is the time for you to explore and find out the one which is just made for you.

Bonus:

Let’s talk a bit about where you can get a free domain name. Of course, you won’t get .com or .in for free, but you can still find some good extensions like .tk, .ml, .ga, .cf & etc for free on Freenom.com.

I am done, now it’s your turn. Share your experience with different free web hostings and let us know which one worked the best for you, down below in the comments.

Thank You.

Everything about Free SSL certification & HTTPS redirection.

Here you are to make your site a secured one. So that your visitors don’t hesitate to surf your site.

Before we begin let’s understand a bit about SSL certification & HTTPS redirection.

SSL & HTTPS:

Just imagine how Whatsapp is an end to end encrypted messaging system, well! we are not talking about a messaging system here, but you got the idea.

Similarly, to establish an encrypted end to end connection between a web browser and a server you need a certification called SSL certificate.

HTTPS can be seen as the mark of security on your site, confirming that your site is under end to end encrypted connection.

Top Free SSL certification providers:

Now arises a question, How do you get this certification for free?

Here is a list of top Free SSL certificate providers.

  • Let’s Encrypt – Created by Linux Foundation with the internet security research group.
  • CAcert Free Certification Authority – CAcert has a variety of free SSL/TLS certifications available. Depending on the certification you get, they expire every six months, 12 months, or 24 months and you have to meet with the CAcert volunteer each time you renew it.
  • Comodo – It comes with the highest possible strength 256 bit. Offers a 90 days free certificate.
  • Cloud Flare – Cloud Flare is a security and a CDN company which offers universal free SSL/TLS certification. Sets up under 5 minutes and is the most user-friendly certificate provider.
  • SSL.com – The certification issued by this company is accepted by 99.9% of browsers and websites.
  • SSL For free – Good for an entire year before you have to renew it. Runs on ACME server of Let’s Encrypt.
  • StartCom – Maybe the best one for a personal website or a blog, It will give you one unlimited domain-validated SSL/TLS certificate completely free.
  • WoSign – These certifications are good for two years before you have to renew them, and they use automatic authentication, so they’re up and running in a few minutes.

5 Best WP plugins to manage SSL & HTTPS on your site:

Once you are done with your certification now is the time to manage it. You could have a hard time managing it if you are not a developer. In that case, plugins are always there to help you out, And that’s what makes WP the best CMS.

  • Really Simple SSL – Enables SSL just in one click, aims at keeping it simple with minimal options.
  • CM HTTPS Pro – This is a complete solution for installing SSL certification on your site and move from HTTP to HTTPS.
  • WP Force SSL – A basic plugin to redirect your HTTP site to HTTPS version. Don’t hope too much from it. (For simple blogs)
  • Easy HTTPS redirection – Ability to force load static files, such as images, css, js, etc., using HTTPS.
  • SSL Insecure Content Fixer – solve insecure content warning easily. Performs basic fixes after implementing SSL.

Blogger Bonus:

If your site is at blogger.com (a Google’s product), then congrats you don’t need to consider any of the above things.

You are just two clicks away from your free SSL certification & HTTPS redirection, And that also from Google.

Steps: For blogger.com
  1. Login to your blogger.com account.
  2. Go to settings > basics.
  3. There you will find two checkboxes regarding HTTPS, check both boxes as yes.

blogger screenshot.

That’s it you are done. I really loved this feature of blogger, Google made it so simple. (It may take up to 15 minutes)

So this is it. I hope you enjoyed the article. I would love to see you in some other article.

Thank You.

Top 10 code editor mobile apps. – 2018.

Are you a programmer, a developer who writes a lot of code,  Or you could be someone who is just trying to be one. However you are related to writing code, you are probably doing it through your laptop or PC. But what if I say that you can code right through your phone.

I personally don’t want to be completely dependent  on my laptop or PC to code. What about you?

Just think about it, You came up with an urgent need to write code and you don’t have your PC with you. You just can’t carry your PC everywhere with you, or what if your PC suddenly stopped listening to you? (Such a night-mare it is.)

That’s where your phone can come to your rescue.

Even if nothing like that happens, you can still give it a try just for a change.

The best thing about these free coding mobile apps is that they support almost all programming languages, and comes up with features like “preview”, “auto tag completion” & many more.

List of top 10 free code editor mobile apps:

  • Dcoder – Here you can not only code, but you can also debug the code to see compilation errors and Result on the same screen. It is more like the port of your favorite Code Editors like Notepad++ or Sublime Text with compilation power.
    Dcoder screenshot

 

  • Quoda code editor – If you want to code productively from your phone, Quoda is a must have, allowing you to carry a text editor and IDE like in your pocket to code when on the move.
    quoda code editor screenshot

 

  • Quick edit – Allows you to Access files from recently opened or added files collections, Google Drive, FTP, One Drive, and Dropbox and has syntax highlighting for more than 40 languages like C++, C#, Java, Javascript, XML, PHP, Markdown, Python, Ruby, Swift, etc. QuickEdit has the ability to edit system files on rooted devices too.quickedit screenshot

 

  • anWriter free –  anWriter will significantly increase your coding speed, compared to a usual notepad. anWriter is much lighter than most IDE but at the same time much more powerful, than most of the notepad like editors.anWriter screenshot.

 

  • Our code editor free – Although this app is closed-source, it is totally free and it doesn’t have ads. Our Code Editor Free was written by Our Code World. Our Code Editor supports code folding, Live syntax checker, cut, copy, and paste functionality, Search and replace with regular expressions.ourcode screenshot

 

  • Turbo editor – Simple, Powerful and Open Source Text Editor for Android. Built following the latest Android Guidelines to make the experience the most intuitive on the Phone but also on Tablets.turboeditor

 

  • Droid edit free – The ad-supported version has the same functionality as the paid version except it doesn’t have SFTP support, Dropbox support, Custom themes, and root mode.droid edit free

 

  • Code anywhere –  Codeanywhere is a text, code, and markup editor, that has been redesigned and to be light, fast, and mobile-friendly. Codeanywhere also works on the desktop (Mac and PC). Apparently, the Codeanywhere app doesn’t allow to edit local files from your device, only from remote sources.codeanywhere

 

  • Enlightened – Goal is to stay minimalistic and intuitive. It has absolutely no ads, intrusive permissions, or other nonsense. This app is not stable and has some bugs, however, the app has potential and its improbable, that’s why it’s worth to mention it. enlightened

 

  • Terminal IDE – Terminal IDE is an expandable terminal application, with a full Java / C / C++ / HTML Android development kit. It uses the command line with many open source & powerful applications.terminal IDE

So this was it.

I hope that we have been able to provide you with some values. If so then you can check our other valuable techie articles, & keep visiting this site for more such valuable contents.

Thank You.

[Forgot Password] [Can’t Log In] How to reset WordPress admin password without sending reset email?

So, admit it. We put really strong passwords and then we forget them.
And you end up being locked out of your own website.

So here is how you can reset it quickly.
Go to your hosting control panel and then go to phpMyAdmin if available.

Look into the database which is being used for your wordpress installation and click on Users table

Inside users table, find the row responsible for your admin account. (check the user_nicename column for username match)
and Press edit.

On the editing screen, put your new password again the column password and Choose MD5 in left column FUNCTION

Now scroll down and save this password.

And that’s it. Go to your domain / wp-admin path and login with the new password you just saved.

What to do if you dont have phpMyAdmin?

You gotta have some kind of access to MySQL, so connect to it using the credentials inside wp-config.php file

Use the following command after replacing your details:

UPDATE `wppl_users` SET `user_pass` = 'e0a8aa81eb1762d529783cf587f6f422' WHERE `wppl_users`.`user_nicename` = 'admin';

If you remember the email address only, use:

UPDATE `wppl_users` SET `user_pass` = 'e0a8aa81eb1762d529783cf587f6f422' WHERE `wppl_users`.`user_email` = '[email protected]';

The above command will set your password to abcd@1234. After this command you can login to wordpress admin panel and then reset your password to anything you want. Or use md5.cz to generate md5 for any password string and replace it with e0a8aa81eb1762d529783cf587f6f422

Do NOT forget to replace “wppl_” with your table prefix (stored in wp-config.php file)

List of really good and important plugins for WordPress

I am listing a few common yet very useful plugins we can utilize for our WordPress websites:

Limit Login Attempts

Limit the number of login attempts that possible both through the normal login as well as using the auth cookies.
WordPress by default allows unlimited login attempts either through the login page or by sending special cookies. This allows passwords (or hashes) to be cracked via brute-force relatively easily.
Limit Login Attempts Reloaded blocks an Internet address from making further attempts after a specified limit on retries has been reached, making a brute-force attack difficult or impossible.

Features:

  • Limit the number of retry attempts when logging in (per each IP). This is fully customizable.
  • Limit the number of attempts to log in using authorization cookies in the same way.
  • Informs the user about the remaining retries or lockout time on the login page.
  • Optional logging and optional email notification.
  • Handles server behind the reverse proxy.
  • It is possible to whitelist/blacklist IPs and Usernames.
  • Sucuri Website Firewall compatibility.
  • XMLRPC gateway protection.
  • Woocommerce login page protection.
  • Multi-site compatibility with extra MU settings.
  • GDPR compliant. With this feature turned on, all logged IPs get obfuscated (md5-hashed).

Wordfence security

Wordfence includes an endpoint firewall and malware scanner that were built from the ground up to protect WordPress. Our Threat Defense Feed arms Wordfence with the newest firewall rules, malware signatures and malicious IP addresses it needs to keep your website safe. Rounded out by a suite of additional features, Wordfence is the most comprehensive WordPress security solution available.

WORDPRESS FIREWALL

  • Web Application Firewall identifies and blocks malicious traffic. Built and maintained by a large team focused 100% on WordPress security.
  • [Premium] Real-time firewall rule and malware signature updates via the Threat Defense Feed (free version is delayed by 30 days).
  • [Premium] Real-time IP Blacklist blocks all requests from the most malicious IPs, protecting your site while reducing load.
  • Protects your site at the endpoint, enabling deep integration with WordPress. Unlike cloud alternatives does not break encryption, cannot be bypassed and cannot leak data.
  • Integrated malware scanner blocks requests that include malicious code or content.
  • Protection from brute force attacks by limiting login attempts, enforcing strong passwords and other login security measures.

WORDPRESS SECURITY SCANNER

  • Malware scanner checks core files, themes and plugins for malware, bad URLs, backdoors, SEO spam, malicious redirects and code injections.
  • [Premium] Real-time malware signature updates via the Threat Defense Feed (free version is delayed by 30 days).
  • Compares your core files, themes and plugins with what is in the WordPress.org repository, checking their integrity and reporting any changes to you.
  • Repair files that have changed by overwriting them with a pristine, original version. Delete any files that don’t belong easily within the Wordfence interface.
  • Checks your site for known security vulnerabilities and alerts you to any issues. Also alerts you to potential security issues when a plugin has been closed or abandoned.
  • Checks your content safety by scanning file contents, posts and comments for dangerous URLs and suspicious content.
  • [Premium] Checks to see if your site or IP have been blacklisted for malicious activity, generating spam or other security issue.

SECURITY TOOLS

  • With Live Traffic, monitor visits and hack attempts not shown in other analytics packages in real time; including origin, their IP address, the time of day and time spent on your site.
  • [Premium] Stop brute force attacks permanently by using two factor authentication, one of the most secure forms of remote system authentication available.
  • Block attackers by IP or build advanced rules based on IP Range, Hostname, User Agent and Referrer.

W3 Total Cache

W3 Total Cache improves the SEO and user experience of your site by increasing website performance, reducing download times via features like content delivery network (CDN) integration.

The only web host agnostic WordPress Performance Optimization (WPO) framework recommended by countless web developers and web hosts. Trusted by numerous companies like: AT&T, stevesouders.com, mattcutts.com, mashable.com, smashingmagazine.com, makeuseof.com, kiss925.com, pearsonified.com, lockergnome.com, johnchow.com, ilovetypography.com, webdesignerdepot.com, css-tricks.com and tens of thousands of others.

An inside look:

BENEFITS

  • Improvements in search engine result page rankings, especially for mobile-friendly websites and sites that use SSL
  • At least 10x improvement in overall site performance (Grade A in WebPagetest or significant Google Page Speed improvements) when fully configured
  • Improved conversion rates and “site performance” which affect your site’s rank on Google.com
  • “Instant” repeat page views: browser caching
  • Optimized progressive render: pages start rendering quickly and can be interacted with more quickly
  • Reduced page load time: increased visitor time on site; visitors view more pages
  • Improved web server performance; sustain high traffic periods
  • Up to 80% bandwidth savings via minify and HTTP compression of HTML, CSS, JavaScript and feeds

KEY FEATURES

  • Compatible with shared hosting, virtual private / dedicated servers and dedicated servers / clusters
  • Transparent content delivery network (CDN) management with Media Library, theme files and WordPress itself
  • Mobile support: respective caching of pages by referrer or groups of user agents including theme switching for groups of referrers or user agents
  • Accelerated Mobile Pages (AMP) support
  • Secure Socket Layer (SSL) support
  • Caching of (minified and compressed) pages and posts in memory or on disk or on (FSD) CDN (by user agent group)
  • Caching of (minified and compressed) CSS and JavaScript in memory, on disk or on CDN
  • Caching of feeds (site, categories, tags, comments, search results) in memory or on disk or on CDN
  • Caching of search results pages (i.e. URIs with query string variables) in memory or on disk
  • Caching of database objects in memory or on disk
  • Caching of objects in memory or on disk
  • Caching of fragments in memory or on disk
  • Minification of posts and pages and feeds
  • Minification of inline, embedded or 3rd party JavaScript (with automated updates)
  • Minification of inline, embedded or 3rd party CSS (with automated updates)
  • Browser caching using cache-control, future expire headers and entity tags (ETag) with “cache-busting”
  • JavaScript grouping by template (home page, post page etc) with embed location control
  • Non-blocking JavaScript embedding
  • Import post attachments directly into the Media Library (and CDN)
  • WP-CLI support for cache purging, query string updating and more
  • Various security features
  • Caching statistics for performance insights
  • Extension framework for customization or extensibility e.g. New Relic, Cloudflare, WPML and more
  • Reverse proxy integration via Nginx or Varnish

Improve the user experience for your readers without having to change WordPress, your theme, your plugins or how you produce your content.

Jetpack

Hassle-free design, marketing, and security — all in one place.

DESIGN SERVICES

Create and customize your WordPress site from start to finish. Jetpack helps you with:

  • Hundreds of professional themes for any kind of site
  • Intuitive and powerful customization tools
  • Unlimited and high-speed image and video content delivery network
  • Lazy image loading for a faster mobile experience
  • Integration with the official WordPress mobile apps

MARKETING SERVICES

Measure, promote, and earn money from your site. Jetpack helps you with:

  • Site stats and analytics
  • Automated social media posting and scheduling in advance
  • Elasticsearch-powered related content and site search
  • SEO tools for Google, Bing, Twitter, Facebook, and WordPress.com
  • Advertising program that includes the best of AdSense, Facebook Ads, AOL, Amazon, Google AdX, and Yahoo
  • Simple PayPal payment buttons

SECURITY SERVICES

Stop worrying about data loss, downtime, and hacking. Jetpack helps you with:

  • Brute force attack protection, spam filtering, and downtime monitoring
  • Daily or real-time backups of your entire site
  • Secure logins with optional two-factor authentication
  • Malware scanning, code scanning, and automated threat resolution
  • Fast, priority support from WordPress experts

 

Yoast Seo

Need some help with your search engine optimization? Need an SEO plugin that helps you reach for the stars? Yoast SEO is the original WordPress SEO plugin since 2008. It is the favorite tool of millions of users, ranging from the bakery around the corner to some of the most popular sites on the planet. With Yoast SEO, you get a solid toolset that helps you aim for that number one spot in the search results. Yoast: SEO for everyone.

Yoast SEO does everything in its power to please both visitors and search engine spiders. How? Below you’ll find a small sampling of the powers of Yoast SEO:

TAKING CARE OF YOUR WORDPRESS SEO

  • The most advanced XML Sitemaps functionality at the push of a button.
  • Full control over site breadcrumbs: add a piece of code and you’re good to go.
  • Set canonical URLs to avoid duplicate content. Never have to worry about Google penalties again.
  • Title and meta description templating for better branding and consistent snippets in the search results.

WRITE KILLER CONTENT WITH YOAST SEO

  • Content & SEO analysis: Invaluable tools to write SEO-friendly texts.
  • The snippet preview shows you how your post or page will look in the search results – even on mobile. Yoast SEO Premium even has social media previews!
  • [Premium] The Insights tool shows you what your text focuses on so you can keep your article in line with your keywords.
  • [Premium] Multiple focus keywords: Optimize your article for synonyms and related keywords.
  • [Premium] Automatic internal linking suggestions: write your article and get automatic suggested posts to link to.

KEEP YOUR SITE IN PERFECT SHAPE

  • Yoast SEO tunes the engine of your site so you can work on creating great content.
  • Our cornerstone content and internal linking features help you optimize your site structure in a breeze.
  • Integrates with Google Search Console: See how your site performs in the search engines and fix crawl errors.
  • Manage SEO roles: Give your colleagues access to specific sections of the Yoast SEO plugin.
  • Bulk editor: Make large-scale edits to your site.

Google XMP sitemaps

Use this plugin to greatly improve SEO to create special XML sitemaps which will help search engines like Google, Bing, Yahoo and Ask.com to better index your site.

With such a sitemap, it’s much easier for the crawlers to see the complete structure of your site and retrieve it more efficiently. The plugin supports all kinds of WordPress generated pages as well as custom URLs. Additionally it notifies all major search engines every time you create a post about the new content.

Google Analytics for WordPress by MonsterInsights

We believe that you shouldn’t have to hire a developer to add Google Analytics to your website. That’s why we built MonsterInsights, a complete Google Analytics for WordPress plugin that’s EASY and POWERFUL.

MonsterInsights allow you to connect your WordPress website with Google Analytics, so you can see how visitors find and use your website, so you can keep them coming back. Simply put, we show you the stats that matter.

With almost 15 million downloads, MonsterInsights is the most popular Google Analytics plugin for WordPress.

At MonsterInsights, user experience is our #1 priority. That’s why we make it extremely easy for you to connect and view your Google Analytics reports from inside your WordPress dashboard. Our tracking settings and workflows make MonsterInsights the most beginner friendly google analytics plugin in the market.

Fix Magento 2 – php cli error on cpanel or other hostings

The problem:

On a fresh install of Magento2 on cpanel based hosting, you receive the following error while running any command on SSH

[eee@e1 www]$ php bin/magento cache:clean
X-Powered-By: PHP/7.0.31
Content-type: text/html; charset=UTF-8

bin/magento must be run as a CLI application
[eee@e1 www]$ php bin/magento setup:upgrade
X-Powered-By: PHP/7.0.31
Content-type: text/html; charset=UTF-8

bin/magento must be run as a CLI application

The Solution:

You have to point php to correct binary;
Use the following code in order:
First, open the file which can alter the runtime variables like .bash_profile or .bashrc

cd ~ ; nano .bash_profile
OR
cd ~ ;nano .bashrc

Go to last line and paste this (depending upon php version change ea-php71 or ea-php70):

alias php='/opt/cpanel/ea-php71/root/usr/bin/php'

Save the file and exit the editor.
Log out and login again OR use the following command

$ source ~/.bashrc

If you are not sure about current php version, use which php or php -v command. If you think the cpanel configuration is the issue, fix EasyApache 4 PHP cli issue. With this way you can fix the setting and enable the new php version

WordPress Hierarchy – Important Files and Directories

wp-config.php file contains all information about your database connection and some salts which are used for password generation
index.php handles all the requests on your wordpress blog
wp-content/themes contains all the themes installed in your blog
wp-content/plugins contains all the plugins installed in your blog
yourblog.com/wp-login.php or yourblog.com/wp-admin/ can be used for logging into wordpress backend
wp-content/uploads contains all your file uploads including all the images in media. They are usually categorized in folders like 2018/month_number (08 09 etc)
users table is used for storing all your user details like username, first name, last name, email and password
other details about users are generally stored in usermeta table
options table is used for storing all the blog settings. generally first and second row in this table contain the url of your wordpress blog.

How to add colon separated hours in PHP using explode function twice?

Problem Statement

Tracking hours for multiple days are available in HH:MM:SS format separated by tab element. Add all the time to show total hours worked/tracked.

<?php
$a="03:23:28	03:58:54	00:00:00	03:10:49	02:17:33	03:56:38	02:18:23	06:15:42	00:00:00	00:00:00	06:04:51	07:41:09	03:23:15	06:12:59	03:51:27	00:00:00	04:30:06	05:00:23	00:00:00	04:34:25	05:17:02	01:36:21	00:00:00	03:53:20	06:30:52	06:21:47	04:54:16	03:22:28	03:10:35	00:00:00	06:37:11	02:14:22	03:06:49	03:05:44	02:35:54	04:03:22	00:00:00
";
#$a="04:05:21	06:25:39	03:02:36	04:01:17	03:03:21	02:00:36	04:21:54	04:21:35	00:00:00	00:00:00	03:39:21	04:19:17	03:08:14	01:44:48	03:28:11	00:00:00	03:05:53	03:05:34	00:00:00	02:09:17	05:01:13	01:02:20	00:00:00	04:30:51	06:03:49	06:36:35	02:14:01	03:06:38	04:02:09	00:00:00	02:34:29	03:36:30	05:10:17	06:46:19	07:48:08	09:13:34	00:00:00
#";
$a="07:28:49	10:24:33	03:02:36	07:12:06	05:20:54	05:57:14	06:40:17	10:37:17	00:00:00	00:00:00	09:44:12	12:00:26	06:31:29	07:57:47	07:19:38	00:00:00	07:35:59	08:05:57	00:00:00	06:43:42	10:18:15	02:38:41	00:00:00	08:24:11	12:34:41	12:58:22	07:08:17	06:29:06	07:12:44	00:00:00	09:11:40	05:50:52	08:17:06	09:52:03	10:24:02	13:16:56	00:00:00
";
$f=explode("\t",$a);
$th=$tm=$ts=0;
foreach($f as $ele){
	
	$ht=explode(":",$ele);
	$hours=intval($ht[0]);
	$minutes=intval($ht[1]);
	$seconds=intval($ht[2]);
	$th+=$hours;
	$tm+=$minutes;
	$ts+=$seconds;
}
$mm=intval($ts/60);
$ts=$ts%60;
$tm+=$mm;
$hh=intval($tm/60);
$tm=$tm%60;
$th+=$hh;

echo "$th:$tm:$ts";
?>

A list of few productivity plugins and useful websites for web developers

Browser Extensions

1. To know the platform and background details of any website – use Wappalyzer (chrome extension)
https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg?hl=en

2. To protect privacy over internet, use privacy badger (chrome extension)
https://chrome.google.com/webstore/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp

3. To get away with distractions, use stayfocusd (chrome extension)
https://chrome.google.com/webstore/detail/stayfocusd/laankejkbhbdhmipfmgcngdelahlfoji

4. You hate CORS warnings in console, to get rid of them, use Allow-Control-Allow-Origin plugin for chrome
https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi

5. Developers and sys admins keep playing with DNS all the time, but browsers use cache and are lazy in updating the record. Use DNS Flusher
https://chrome.google.com/webstore/detail/dns-flusher/nbomnjapnclaocillijpceooehonajnk

6. Sometimes, you just want to check the website before actually moving the DNS or IP record, use Virtual Hosts (chrome extension)
you can set IP of any domain name to anything
https://chrome.google.com/webstore/detail/virtual-hosts/aiehidpclglccialeifedhajckcpedom

7. JSONView – use this extension to view any json with indentation
https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc

8. For sharing screenshots very quick, you can use two plugins Nimbus screenshot and Lightshot
https://chrome.google.com/webstore/detail/lightshot-screenshot-tool/mbniclmhobmnbdlbpiphghaielnnpgdp?hl=en

https://chrome.google.com/webstore/detail/nimbus-screenshot-screen/bpconcjcammlapcogcnnelfmaeghhagj?hl=en

Useful Websites

HTML Online Editor

Free online HTML editor with WYSIWYG and source composer and instant preview and many useful built-in features

Stack Overflow

Huge programmer community where you usually don’t have to ask for help because probably someone has already answered the same question.

W3Schools

The place to learn web technologies. There’s a big chance that this site gives the first search result when you’re looking for a HTML term.

Github

Collaborate with other developers. Fork, send pull requests and manage all your public and private git repositories.

Built With

Enter a domain name to find out who is hosting it, what CMS and framework is used and many other insights.

Thum.IO

Fast real-time website screenshot API. If you are a backend guy, handling multiple sites and uptime can get messy. This api can really help you in managing the tasks relating to visibility of your website across the web.

HTML Color Codes

Search and save color codes. Search by name or mix the RGB, HSV or CMYK values. Use the generated HTML/CSS codes.

Freepik

Browse the large directory of free photos, vector arts, icons, illustrations, PSD files at FreePic.

PageSpeed Insights

This tool by Google analyzes the submitted link from mobile and desktop to suggest you what to consider optimizing.

Google Fonts

An interactive directory of over 800 free hosted web fonts. It allows to optimize loading speed by including only what you need.

Placehold.it

Image placeholders with customizable size. Just add the image resolution after the domain name, for example placehold.it/400×250

Speed Test by GT-Metrix

Analize the loading speed of a website from many available servers. The website creates a detailed analysis with screenshot and waterfall view.

Similar sites- Pingdom  and WebpageTest.org

FontAwesome

The most popular icon set based on CSS and LESS. The vector icons can be customized as text – size, color, drop shadow

XML Sitemaps

Generate XML sitemaps and URL list of a website. The crawl limit is 500 pages.

Post Image

Post images online for free and share them via links on messages, forums or emails

Codepen

Register to create, save and share HTML-CSS-JS code snippets and run them online.

Write PHP Online

Name suggests it all. Post your code and see what it does. In PHP

Pastebin

Pastebin is a website where you can store text online for a set period of time and share it with anybody or privately