Title: Virtual Post issue
Last modified: April 20, 2017

---

# Virtual Post issue

 *  [mazoola](https://wordpress.org/support/users/mazoola/)
 * (@mazoola)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/virtual-post-issue/)
 * **AirPress 1.1.35**
 * Chester –
 * While researching my previous post, I stumbled across what I first thought was
   a minor annoyance in Virtual Post configuration but, on further investigation,
   turned out to be something broken in VP configuration.
 * After I had deleted the phantom VP configs (see earlier post), I noticed none
   of my valid VP configs showed any matches for the test URL. This behavior had
   changed with one of the past few updates; I know it was working under 1.1.30,
   and I suspect it was still good in 1.1.32. Now, though, the configurations all
   reported “No results from test url” — even though the Virtual Posts **did** work
   properly when called.
 * On checking the logs, I discovered $1 now had a ‘/’ character appended to it,
   to wit:
 * `200 0 0.47 outfit?filterByFormula=FIND('punk/',genre)>0`
 * By explicitly appending the stroke to the “URL Pattern to Match” — for instance,
   as in _^wardrobe/genre/(.*)/_ — my configuration would now properly show matches
   for the test URL; however, actual calls to the VP failed. That is to say, with
   the match pattern defined as _^wardrobe/genre/(.*)/_, both
 * _[http://domain.tld/wardrobe/genre/vintage](http://domain.tld/wardrobe/genre/vintage)_
 * and
 * _[http://domain.tld/wardrobe/genre/vintage/](http://domain.tld/wardrobe/genre/vintage/)_
 * incorrectly return a 404 “No Results Found” page. Removing the trailing ‘/’ from
   the match pattern fixes the VP, allowing both URLs above properly to return matching
   records, but again breaks the test URL match on the VP configuration page.
 * I paged back through the latest Trac changesets on WordPress.org, but no break
   so obvious **I** could identify it made itself known….
 * Again, not at all on a clean server. If I can do anything to help isolate this,
   let me know.
 * Thanks!
    maz
    -  This topic was modified 9 years, 1 month ago by [mazoola](https://wordpress.org/support/users/mazoola/).
      Reason: formatting changed for readibility

The topic ‘Virtual Post issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/airpress_c9d28c.svg)
 * [Airpress](https://wordpress.org/plugins/airpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/airpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/airpress/)
 * [Active Topics](https://wordpress.org/support/plugin/airpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/airpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/airpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mazoola](https://wordpress.org/support/users/mazoola/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/virtual-post-issue/)
 * Status: not resolved