I tried to use th URL Rewrite module, but it won't rewrite the URL for some reason. If I go to this website: `http://localhost/projectredrum/foto.php` it will show the correct page, but it doesn't rewrite the URL to what I want.

```
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteBase /projectredrum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^foto\.php$ /Aquaria-Foto/Fotos
</IfModule>

```

1. [Rewrite Module Tutorial](https://www.youtube.com/watch?v=oqg6Chk6L7M)

After looking at the tutorial mentioned above I figured I should try without

```
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

```

Because if you use this, it will only rewrite the URL when the URL doesn't match a file name or directory.

However when I did that I got a `404 page not found` issue.

Does anyone know why the URL rewrite doesn't work?