[Solved] Local PHP Server Cant See Pages? [closed]


You must go to pages/contact.php not contact.php

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /pages/contact.php/$1 [L]
</IfModule>

The code above in your htaccess file will remove the “Pages” directory from your URL’s, at which point you can access /contact.php

Code above not tested, but you will get the idea.

1

solved Local PHP Server Cant See Pages? [closed]