Support » Fixing WordPress » Where’s .htaccess file? Already unhiden the hidden

Viewing 9 replies - 1 through 9 (of 9 total)
  • SSH/Telnet into your account and do ls -al at the command line in your blog’s root. You should see it then.

    To create one, create a file locally, call it whatever you want, upload it and rename it on the server to .htaccess

    Mark (podz)


    Support Maven

    You’ve not got one – you have looked in all the right places and followed all the right links. Here’s how to make it:

    Open Notepad on your machine
    Press space once
    Save the file as htaccess.txt
    Upload that file to your site. It need to go on the main directory – the same one as wp-config.php
    Next change it’s name to .htaccess
    Then change it’s permissions to 666
    Then you’ll be fine 🙂

    If you hit any problems, just post back!

    If you want the OP to create a blank .htaccess file Podz, why make them do that?

    ssh to account, cd to doc_root, touch .htaccess, chmod 666 .htaccess.

    Easy, no Notepad needed.

    Mark (podz)


    Support Maven

    IIIIIIIV – it assumes shell.
    I have ssh access but it scares me 🙂

    I’m also taking the view – possibly wrongly – that if someone can ssh, cd, touch and chmod then they don’t need me to tell them how to do a .htaccess.

    And like I said .. ssh is scary. No little icons, no mouse 🙂

    Thanks guys. You’ve been very helpful.I’ve followed podz instructions, and the problem is solved.

    The .htaccess thing has solved the breaking customized Permalink problem as well as the photo uploading problem in this page:

    By the way, the .htaccess is hidden and I’m using LeapFTP client, how to set to display .htaccess? I need to set the file’s permissions to 660.

    Thanks again.

    Mark (podz)


    Support Maven

    That’s a new programme on me.
    You said at the top that you had displayed all hidden files – is there not an option for that?

    Unless the people who made it can help, all I suggest is a freeware FTP client which is excellent:

    I told my friend (an ASP programmer)who’s helping me with the blog thing on MSN messenger to help me to see if .htaccess is there. What I said in the first post was the feedback from him.

    Thanks podz for helping solve the problems which had haunted me for over a week.

    I’ll try FileZilla. 🙂

    Most FTP programs (and the SSH program) have an option under some sort of Settings or Preferences menu to Show hidden files. The default setting is often to hide them. If your program has a help file, you could search for options, hidden files, or some other term if you can’t find anything by exploring.

    And to save an .htaccess in Notepad, you could just save it as .htaccess so long as you change Save As Type from .txt documents to All Files, otherwise you end up with .htaccess.txt

    or save it in quotes: “.htaccess”

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Where’s .htaccess file? Already unhiden the hidden’ is closed to new replies.