index.php wont load as main
snippet in php

index.php wont load as main

user576

Set index.php as Main
  
  1. Create a .htaccess file in your root dir
  2. Add the line...
  
  DirectoryIndex index.php
  
  3. Save it