Hello
I’m building a website and it’s been working out well until I added an .htaccess file to clean up the url… Unfortunately it seems that messed up my homepage. Both my localhost and the online version is messed up, as you can see (the website is currently live) http://unidrones.co.za/ChoiceGelatin
The page it lands at is not identical to the page I call “home” which is the index.php file. The landing page is supposed to look like this one:
http://unidrones.co.za/ChoiceGelatin/index.php
I need it to land on index.php automatically.
My .htaccess file only consisted of this and nothing more:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [NC,L]
Please assist…Driving me nuts. I already checked a ton of answers on SO and around the web but nothing seems to help my problem.
I deleted the .htaccess file and nothing changed. I just need to know what I should do to restore whatever there was before I added this file. How come even deleting the .htaccess file did not work?