10 October 2012 ~ 0 Comments

How to Redirect To Post If Search Results Return One Post

WordPress has a built in search functionality which allows your visitor to easily search for posts on the blog. It can search for keywords in the post title and in the post content. When a search is performed WordPress will use the Archives.php file to display you the results…

Related Articles:

Rate This Article -->

GD Star Rating

LatestWP Score for this Article:


This is a very handy code snippet where you will learn how you can redirect users directly to a post if the search they have performed have returned a single result.

...[Visit Original Article]

Leave a Reply