[wp-hackers] Any alternative to $_SERVER['QUERY_STRING'] for SEO friendly URLs?..

Malaiac malaiac at gmail.com
Fri Dec 26 21:21:53 GMT 2008


2008/12/26  <scribu at gmail.com>:
> Do a var_dump on the global $wp_query and see if you can use that.

Problem may be on the handle_404()
http://trac.wordpress.org/browser/trunk/wp-includes/classes.php#L436
if you don't use wp_query to manage your custom taxonomies
or if you use wp_query with others items than posts, post categories,
tags, authors
you're pretty much on your own for pretty urls

I mean, if there is a $wp_query->get_queried_object(), does it need to
be  ( is_tag() || is_category() || is_author() ) ??

M


More information about the wp-hackers mailing list