ProTip: How to remove trailing index.php

Discussion in 'Tips/Tricks/Mods' started by Curtis Droppelman, Apr 26, 2016.

  1. Curtis Droppelman

    Curtis Droppelman New Member

    Removes intermittent trailing index.php URI
    Edit index.php:
    Code:
    nano /usr/local/ispconfig/interface/web/index.php
    Paste the following code below the opening <?php tag:
    Code:
    if($_SERVER['REQUEST_URI']==='/index.php')header("Location:/");
     

Share This Page