How can I show a page that not exists with PHP?
<p>I have a website that show information about a shop online. I need following:</p>

<p>When you type <code>example.com/shop/name-shop</code>, this should  show the <strong>name-shop page.</strong> </p>

<p>I'd like only have the file <code>example.com/shop.php</code> which show the information of shop based on the <strong>URL</strong>. I don't like  use <code>example.com/shop?name-shop</code>.</p>

<p>Is this possible or I need to create one file to each shop? I tried to do this with an error page and a header location and works fine but in the url show <code>example.com/shop</code> instead of <code>example.com/shop/name-shop</code>.</p>

<p>Thanks.</p>

<p>EDIT:
I'm using the .htaccess in Apache with <code>ErrorDocument 404 /error404.php</code> In the file error404.php I've a if to check if url is <code>http://example.com/shop/*</code> When the url contains /shop/ redirect with <code>header ("location: website")</code> to the correct shop and works. But in the url in browser only show <code>example.com/shop</code> instead <code>example.com/shop/name-shop</code>. Obviously because i'm redirecting to shop.php</p>
