Morshed Alam

A teacher by profession, a traveler by passion and a netizen by choice.

Morshed Alam
How To Fix The Block Was Affected By Errors And May Not Function Properly

How To Fix The Block Was Affected By Errors And May Not Function Properly

You are seeing this problem after WordPress 5.8 as you are using old legacy widgets. WordPress is now a full site editing CMS. And it has a “Block-based Widgets Editor” now. At the highest level, the vision of Full Site Editing is to provide a collection of features that bring the familiar experience and extendability

How To Fix The Block Was Affected By Errors And May Not Function Properly Read More »

empty

Noindex Empty Categories, Tags or Custom Taxonomies (for Yoast SEO Plugin Users)

In one of my project, I was using “Query Multiple Taxonomies” plugin. After a few days, I noticed that Google Search Console was showing 400% more valid pages. That was huge! When I dug up, I found that they were empty pages created by that plugin. It’s like querying taxonomyA&taxonomyB to find any post. So

Noindex Empty Categories, Tags or Custom Taxonomies (for Yoast SEO Plugin Users) Read More »

list

Display A List of Custom Taxonomy Terms with Posts Number

A WordPress taxonomy is a way to organize groups of posts and custom post types. By default, WordPress comes with two taxonomies called categories and tags. However, if you are using a custom post type, then you may need custom taxonomies. There are two types of custom taxonomies. Hierarchical Taxonomy (works like categories) Non-Hierarchical Taxonomy

Display A List of Custom Taxonomy Terms with Posts Number Read More »

Redirect WordPress Page

How to Create Custom Registration URL in WordPress without Plugin

To fight spam registration, this could be helpful. In this tutorial, we will use WordPress function wp_safe_redirect(). First, create a page. No need to add content. We will use this page’s slug. Suppose it’s “register”. Paste following code in your theme’s functions.php Now your registration URL will be yoursite.com/register instead of yoursite.com/wp-login.php?action=register == The End

How to Create Custom Registration URL in WordPress without Plugin Read More »

Redirect Successful Registraion

How to Redirect Successful Registration to Thank You Page in WordPress

By default WordPress redirects a successful registration to example.com/wp-login.php?checkemail=registered where it shows “Registration complete. Please check your email, then visit the login page”. But you can redirect them to your custom thank you page like example.com/thanks. There you can say them to check the spam folder for your email alongside thanking them. Create a page

How to Redirect Successful Registration to Thank You Page in WordPress Read More »

author slug base

How to Change Author URL Slug and Base with or without Plugin

WordPress has permalink settings. WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available, and there are some examples in permalink settings. However, there is no option for you to

How to Change Author URL Slug and Base with or without Plugin Read More »