Title: Query In URL String
Last modified: August 19, 2016

---

# Query In URL String

 *  Resolved [GhostPool](https://wordpress.org/support/users/ghostpool/)
 * (@ghostpool)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/query-in-url-string/)
 * I’m trying to query my custom post type pages with the following URL string, 
   but it doesn’t work:
 *     ```
       http://ghostpool.com/wordpress/mediastore/reviews/?review_categories=&orderby=meta_value&meta_key=ghostpool_hits&order=DESC
       ```
   
 * I’ve managed to get the same query working using query_posts so the query definitely
   works. Does anyone know why it doesn’t work via the URL?

The topic ‘Query In URL String’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [query](https://wordpress.org/support/topic-tag/query/)
 * [string](https://wordpress.org/support/topic-tag/string/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [GhostPool](https://wordpress.org/support/users/ghostpool/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/query-in-url-string/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
