The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Handle a file without extension

Discussion in 'General Discussion' started by dpozitif, Aug 9, 2008.

  1. dpozitif

    dpozitif Member

    Joined:
    May 25, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
  2. sachink

    sachink Member

    Joined:
    Oct 15, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Just add following code in .htacess

    RewriteEngine On RewriteCond %{REQUESTFILENAME} !-f RewriteCond %{REQUESTFILENAME} !-d RewriteRule ^(.*)$ $1.html [L,QSA]

    Thank You,
    Sachink
     
Loading...

Share This Page