1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How Can i create .htaccess file manually

Discussion in 'Site & Server Administration' started by Shefaligarg, May 18, 2011.

  1. #1
    How Can i create .htaccess file manually can any one give a performa for it.
     
    Shefaligarg, May 18, 2011 IP
  2. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #2
    just creat a txt file in your pc htaccess

    when u past on this file on server just rename it .htaccess

    its work....
     
    hostimizer, May 19, 2011 IP
  3. weknowonlinemarketing

    weknowonlinemarketing Peon

    Messages:
    681
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I do also interested about the question. Hello "hostimizer", would you please tell something more about this? All servers are not giving the permission to work on the .htaccess file. What to do?
     
    weknowonlinemarketing, May 19, 2011 IP
  4. dannyvalentino

    dannyvalentino Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you have FTP access to your server, you can upload the .htaccess file to the top directory (usually in the 'public_html' folder) and it will overwrite any existing .htaccess file. As the previous poster stated, you can create a text document and then rename it .htaccess. If you don't have any access to your server, you could ask your hosting provider to upload it for you.
     
    dannyvalentino, May 19, 2011 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    if you create that file offline
    make sure you use a UNIX compatible editor (zero problem if your offline PC is running Linux or other ix)
    some of the lines in a .htaccess file are sensitive to line feed and may cause error if done with a windows editor !!

    all quality hosts allow .htaccess as the file is in user space and NOT on server level
    errors normally affect only your entire site visitors

    for details always refer to the original authority - in this case
    http://httpd.apache.org/docs/current/howto/htaccess.html
     
    hans, May 19, 2011 IP
  6. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,199
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #6
    Create the file with notepad, transfer it onto your server, then rename the file to .htaccess
     
    dcristo, May 19, 2011 IP
  7. aassociatehit

    aassociatehit Well-Known Member

    Messages:
    1,778
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    140
    #7
    you can create is the way you create other files, normal way
     
    aassociatehit, May 19, 2011 IP