Good day all,
Today i'm looking at php website and need a link to a new page but despite creating page.php and inserting a link in the header.php. I've found that every time i click a link on the page it simply re-renders the index.php. The links work fine in the live version of the site but not when i run it locally with
php -S localhost:8000
Also this is in the htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} ^infinityconnect.co.za [NC]
RewriteRule ^(.*)$ https://www.infinityconnect.co.za/$1 [L,R=301,NC]
#Remove php from pages
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
I havent worked with php before and i dont know how the routing system works.
Thanks in advance