Title: Dynamic PHP Pages
Last modified: August 19, 2016

---

# Dynamic PHP Pages

 *  [lakerstats](https://wordpress.org/support/users/lakerstats/)
 * (@lakerstats)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/dynamic-php-pages/)
 * Hi,
 * I’m converting my MySQL database-driven site over to the WordPress format. Several
   of my pages are dynamically created by passing variables to the URL. Of course
   I want to keep my site consistent so I want it to have the WordPress template
   and look. I’m just not sure how to go about setting that up.
 * I do have the PHP Exec plugin and have used it just fine on a lot of my database
   PHP pages, but some of my pages require the passing of variables to work. So 
   that’s my issue.
 * I just need a little direction, I can code just fine, just not exactly sure where
   to start on this one.
 * Not sure if it will help, but so you can see what I’m talking about, here’s my
   current site…
 * [http://www.lakerstats.com/](http://www.lakerstats.com/)
 * And here’s the WordPress site that eventually I’m going to move over to the root
   when I get eveything converted.
 * [http://www.lakerstats.com/blog/](http://www.lakerstats.com/blog/)
 * You can see on my current site that most of those stat pages are dynamic, and
   I just am not quite sure how to convert them over.
 * Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [lakerstats](https://wordpress.org/support/users/lakerstats/)
 * (@lakerstats)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/dynamic-php-pages/#post-1654185)
 * Nobody?
 * Here I’ll make it easier. How do I get this page set up in WordPress? Note that
   the Game ID obviously changes.
 * [http://www.lakerstats.com/boxscore.php?gameid=33](http://www.lakerstats.com/boxscore.php?gameid=33)
 * Surely somebody has had to incoporate their dynamic PHP pages into a WordPress
   template.
 *  Thread Starter [lakerstats](https://wordpress.org/support/users/lakerstats/)
 * (@lakerstats)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/dynamic-php-pages/#post-1654200)
 * Did some more digging for a few hours and found out how to pass variables to 
   the URL. That pretty opened the door for me to do it.
 * If anyone’s curious, here’s what I used.
 * [http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress](http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress)
 * So all good here.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Dynamic PHP Pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [lakerstats](https://wordpress.org/support/users/lakerstats/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/dynamic-php-pages/#post-1654200)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
