Redirect User To Post If Search Results Return One Post

How to Redirect User To Post If Search Results Return One Post Recently on a project, my client asked me to develop a system to redirect user to post if search results returns only one post. Although it’s fairly simple system to develop but I started searching on Google if someone has already tried to develop similar … Read more

Limit WordPress To Perform Search Through Post Titles Only

How to Limit WordPress To Perform Search Through Post Titles Only On a project, sometimes you may require WordPress to perform search through post titles only and exclude post content as well as post excerpts. Although it’s not very useful to exclude post content from searches because then you will get less relevant results and also less results in quantity, … Read more

Prevent User Registration in WordPress From Specific Domain

How to Prevent User Registration in WordPress From Specific Domain Usually it’s a good idea to disable user registration in WordPress, if you do not use membership feature, since spammers can attack your website with spam user registrations. One of my clients had enabled the option “anyone can register” in WordPress settings and allowed visitors to register. Within as week, … Read more