htaccess issue. Please help!

Discussion in 'HTML & Website Design' started by bizbuysell2, Jun 4, 2008.

  1. #1
    Hi guys.

    I want to utilize the htaccess "mod" that allows you to not display the file extension of the page, e.g www.domain.com/howitworks

    For numerous reasons, I can't make these modifications in the root folder, as my root folder contains loads of different scripts and it would cause lots of issues. Is it possible to have the htaccess in a folder eg www.domain.com/folder/ ??

    Or must the htaccess always be at the root? Also could someone please guide me in the right direction for this "mod", I found a webpage that showed you how to do it a few days ago but lost it :) Thanks guys!
     
    bizbuysell2, Jun 4, 2008 IP
  2. half21back

    half21back Active Member

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #2
    bizbuy,

    I don't have all the answers to htaccess, but I do have some experience. My experience has been that you must keep the .htaccess in the root folder. You can however write custom rules to make sure that some of your scripts don't get touched.

    But, if you want a good resource to study, read up on htaccess here:

    corz.org/serv/tricks/htaccess2.php
     
    half21back, Jun 4, 2008 IP