Title: Exec-PHP / Permalink and Querystring
Last modified: August 19, 2016

---

# Exec-PHP / Permalink and Querystring

 *  [jasonabuck](https://wordpress.org/support/users/jasonabuck/)
 * (@jasonabuck)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/exec-php-permalink-and-querystring/)
 * I am using a Exec-PHP so that I can display information from my database on my
   WP pages.
 * I am querying my data just fine and returning my recordset. My problem is that
   when I implement paging on my recordset, I get Error 404 – Not Found as the paging
   is trying to navigate from mydomaim.com/index.php?pageNum=2 instead of adding
   the querystring to my permalink e.g. mydomain.com/press/?pageNum=2
 * Anyone have any suggestions on how I should resolve this. I really did search
   the forums for Permalink and Querystring. But didn’t find the answer I was looking
   for.
 * T.I.A.
 * Jason

The topic ‘Exec-PHP / Permalink and Querystring’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [querystring](https://wordpress.org/support/topic-tag/querystring/)

 * 0 replies
 * 1 participant
 * Last reply from: [jasonabuck](https://wordpress.org/support/users/jasonabuck/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/exec-php-permalink-and-querystring/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
