Custom PHP App with a wordpress site
<p>I have created a new 'page template' and (this is probably not the right way to do this, but this is the way I have got it working), and created a new page using that template.  Within the page template (PHP file) I have made, I have put lots of PHP which makes the page function, like it has a simple login an view information from a SQL table.</p>

<p>The problem is, I need to be able to send $_GET data to the page.  I can send POST fine, but not GET, and I dont know what the URL is.</p>

<p>For example, I would like to have clean URLs (that is what I have set wordpress to)</p>

<p>i.e.:</p>

<p>domain.com/teaching-portal/mygetdata</p>

<p>The name of the page template is teaching-portal, and I would like to get <code>mygetdata</code> into PHP.  But currently anything passed after teaching-portal results in a 404 page.</p>

<p>How can i achieve this?</p>
