Redirect to index.php in a directory


/ Published in: Apache
Save to your folder(s)

## If visitor calls directory only, i.e. /en/
## he will be forwarded to the index.php in this folder
## as directory listing is deactivated


Copy this code and paste it in your HTML
  1. ## If visitor calls directory only, i.e. /en/
  2. ## he will be forwarded to the index.php in this folder
  3. ## as directory listing is deactivated
  4. DirectoryIndex index.php

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.