Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on How to change .htaccess setting in the Shared & Semi-Dedicated forum
I want make some changes to my .htaccess file. I want make user to access php by typing the filename without extension. For example, http://domain/test.php ...

  1. #1
    JPC Addict
    Join Date
    Jan 2006
    Posts
    137

    Exclamation How to change .htaccess setting

    I want make some changes to my .htaccess file. I want make user to access php by typing the filename without extension. For example, http://domain/test.php can be access as http://domain/test

  2. #2
    JPC Member
    Join Date
    Dec 2005
    Posts
    21
    RewriteBase /
    RewriteRule ^(.*)$ /$1.php

    if i'm right

  3. #3
    JPC Addict
    Join Date
    Jan 2006
    Posts
    137
    I tried this one, it's working.
    RewriteEngine on
    RewriteRule ^([^./]+)/?$ $1.php [L]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •