how to leave the index.php in my domain? using htaccess

Discussion in 'Apache' started by david2626, Nov 19, 2008.

  1. #1
    how to leave the index.php in my domain? using htaccess

    what i have to write in htaccess if i want that every time
    instead of domain.com - will be domain.com/index.php

    thanks
     
    david2626, Nov 19, 2008 IP
  2. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Options +FollowSymLinks -MultiViews
    RewriteEngine on
    RewriteBase /
    RewriteRule ^/*$ index.php [R=301]
    Code (markup):
     
    joebert, Nov 21, 2008 IP