<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WpFunc &#187; Wordpress search</title>
	<atom:link href="http://wpfunc.com/tag/wordpress-search/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Sun, 06 May 2012 02:21:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Nice Search Plugin!</title>
		<link>http://wpfunc.com/wp-plugins/nice-search-plugin.html</link>
		<comments>http://wpfunc.com/wp-plugins/nice-search-plugin.html#comments</comments>
		<pubDate>Mon, 04 Jan 2010 17:39:06 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[searched text]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress search]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=360</guid>
		<description><![CDATA[This plugin is a very simple redirect plugin. The Plugin change WordPress&#8217; search context &#8220;?s=searched%20word&#8221; to permalink &#8220;/search/searched+word/&#8221; one. Also change &#8220;%20&#8243; to &#8220;+&#8221;. Thanks to Mark Jaquith! Here is the Plugin; You can see what code the plugin has; That&#8217;s All! You can download it from here:]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This plugin is a very simple redirect plugin. The Plugin change WordPress&#8217; search context &#8220;?s=searched%20word&#8221; to permalink &#8220;/search/searched+word/&#8221; one. Also change &#8220;%20&#8243; to &#8220;+&#8221;. Thanks to Mark Jaquith!<span id="more-360"></span></p>
<h3>Here is the Plugin;</h3>
<p>You can see what code the plugin has;</p>
<pre class="brush: php; title: ; notranslate">&lt;?php /*
Plugin Name: Nice Search
Version: 0.2
Plugin URI: http://txfx.net/code/wordpress/nice-search/
Description: Redirects ?s=query searches to /search/query, and converts %20 to +
Author: Mark Jaquith
Author URI: http://txfx.net/
*/

function txfx_nice_search() {
	if ( is_search() &amp;&amp; strpos($_SERVER['REQUEST_URI'], '/wp-admin/') === false &amp;&amp; strpos($_SERVER['REQUEST_URI'], '/search/') === false ) {
		wp_redirect(get_bloginfo('home') . '/search/' . str_replace(' ', '+', str_replace('%20', '+', get_query_var('s'))));
		exit();
	}
}

add_action('template_redirect', 'txfx_nice_search');
?&gt;
</pre>
<p>That&#8217;s All!<br />
You can download it from here:<br />
Note: There is a file embedded within this post, please visit this post to download the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wp-plugins/nice-search-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

