<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Permalinks and WordPress rewrite</title>
	<link>http://vanity.designity.com/blog/2006/06/05/permalinks-and-wordpress-rewrite/</link>
	<description>blog.</description>
	<pubDate>Tue, 06 Jan 2009 01:03:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Aleister</title>
		<link>http://vanity.designity.com/blog/2006/06/05/permalinks-and-wordpress-rewrite/#comment-3</link>
		<author>Aleister</author>
		<pubDate>Mon, 05 Jun 2006 22:32:11 +0000</pubDate>
		<guid>http://vanity.designity.com/blog/2006/06/05/permalinks-and-wordpress-rewrite/#comment-3</guid>
					<description>Glad you found my Rewrite viewer plugin useful :)

Were you trying to use a plugin to manually process the new rewrites you generated? If so, and you were trying to access new query variables, WordPress 2.0 requires that you use the query_vars array instead of the standard $_GET method. This is not very well documented anywhere - at least not the last time I looked, so it can be frustrating trying to figure out why you cannot pass new custom query vars (with or without permalinks). :)

You also have to use a filter on the 'query_vars' event to actually add the new query field in, or it will not be recognized by WP either.

If you want an example of custom query parameters, you can view the source of my sitemap generator plugin on my site.

Of course, none of this may apply to you anyway - just thought I would share just in case :)</description>
		<content:encoded><![CDATA[<p>Glad you found my Rewrite viewer plugin useful :)</p>
<p>Were you trying to use a plugin to manually process the new rewrites you generated? If so, and you were trying to access new query variables, WordPress 2.0 requires that you use the query_vars array instead of the standard $_GET method. This is not very well documented anywhere &#8211; at least not the last time I looked, so it can be frustrating trying to figure out why you cannot pass new custom query vars (with or without permalinks). :)</p>
<p>You also have to use a filter on the &#8216;query_vars&#8217; event to actually add the new query field in, or it will not be recognized by WP either.</p>
<p>If you want an example of custom query parameters, you can view the source of my sitemap generator plugin on my site.</p>
<p>Of course, none of this may apply to you anyway &#8211; just thought I would share just in case :)</p>
]]></content:encoded>
				</item>
</channel>
</rss>
