Python code to get current year

If you are looking to get current year in integer format in Python programming language, then use below one from datetime import datecurrent_year = Source:

Create ALT tags automatically for images on blogger

If you have a blog on blogger and thinking to save some time while publishing your posts, then im gonna provide a tip for you. If yours is a photo blog, then you may post hundreds of photos onto your blog.If you write ALT tags for images in each post,it may take more time if […]

Prevent Command Prompt from closing automatically

If you have observed that command prompt closes automatically after it’s execution, this article explains you how to fix that. I noticed it when i executed a batch file. It opened the command prompt, executed the commands and disappeared immediately after execution is completed. Stop Command Prompt from closing automatically Add /K after each command. […]

WordPress Author page redirecting to homepage [Fixed]

Yoast settings to fix author page redirect issue

Problem: WordPress Author URLs are redirecting to home page. Bad for SEO. Root Cause: It is observed that Yoast SEO plugin’s Author archives settings are causing this issue. Fix: 1. Goto WordPress Dashboard 2. Goto SEO -> Search Appearance (See pic) 3. Click on Archives tab 4. Goto “Author archives settings” 5. Set “Author archives” […]

WordPress plugin to switch to old Classic Editor from Gutenberg

wordpress plugin to switch between gutenberg and classic editor

Gutenberg was released with WordPress 5.0 and whoever updated to wordpress 5.0 or above got the new editor called Gutenberg. So the old classic WordPress editor was replaced by the new one. Many people wanted to switch back to old classic editor as they found bit difficulty in using the Gutenberg. Also, i have seen […]

Function to copy files in C++

C++ function to copy a file to another. Explained with it’s syntax, parameters, return value and an example Syntax Syntax of C++ function to copy file is BOOL CopyFile(LPCTSTR ExistingFileName, LPCTSTR NewFileName, BOOL bFailIfExists); Parameters ExistingFileNameEnter the existing file path which is to be copied NewFileNameEnter the new file path. This is the file where […]

Quick way to convert any Amazon URL into an Affiliate link?[Recommended]

You can generate Amazon affiliate URL in many ways like using Widgets,banners, product linking URLs by going to your Amazon affiliate account. But there is a simple technique which can quickly convert any Amazon URL into an Associates/affiliate URL is explained below. You don’t need to login to your Amazon affiliate account also. 2 Steps […]

WordPress: Change Category or Tag base URL prefix?

By default, WordPress adds /category/ prefix to category base URL, and /tag/ prefix to tag base URLs. This article shows you how to change them to some meaningful name and get SEO benifits. Ex:, For example if you want to change category LRU base name from /category/ to /topics/ and tag LRU base […]

Remove category base prefix from URLs in WordPress?

remove category prefix option in yoast seo

By default, category URLs in WordPress contain a prefix, usually /category/. Example: Here /category/ is called category prefix or base. Category URL after removing the prefix is Many believe that removing category base adds SEO benefits Short and better URLs. Better user experience. Easy to parse, copy and paste Follow below simple steps to remove […]

what happens if robots.txt file is missing? [proof]

Google webmaster tools message when robots.txt file not found on your domain

Robots.txt file is the face of your website for web crawlers and it resides on the root directory of your website. It tells the Web bots or search engines (like google) what to crawl and what not to crawl on your website. You should have a robots.txt file if you want to block certain folders […]