• Hello Hello,

    I’m backing up everything for my WP2.0 changeover, and am puzzled by this .htaccess file mentioned in the guide. I know it’s a hidden file, and when I enable the viewing of hidden files in FileZilla I don’t see it anywhere. Could anyone tell me where it is typically located?

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Should be in your wp install root folder. If you can’t see it using your ftp client, do you have cPanel or something similar? You can almost always see it in the host’s file manager.

    Thread Starter aubbie

    (@aubbie)

    Can’t see it in root…

    Logged into my hosting manager, and found where I can view my files, and I don’t see it there either.

    What sort of bad things could go wrong if I didn’t have a backup of this file handy?

    (I know my server is Linux based, and the fun stuff provided by my host for the database is phpMyAdmin…)

    If I’m not mistaken, WP 2.0 will completely rewrite .htaccess after the upgrade. It did mine anyway.

    I would think that if you reinstalled with your backup, WordPress would regenerate the .htaccess automatically?

    It’s good to have a backup though. May want to ask your host if it’s accesible. Some hosts don’t like people fiddling with it.

    Thread Starter aubbie

    (@aubbie)

    Assuming it would regenerate, does that mean that the .htaccess file is part of the database backup, or in with my WP files?

    (I use the lovely DB Backup Plugin from Scott Merrill.)

    I doubt if you can without an .htaccess, but if you had custom permalinks you’d need the modified .htaccess

    Thread Starter aubbie

    (@aubbie)

    I haven’t changed the permalink structure at all. It’s whatever came preset in WP.

    Wait…should I even be worrying about this if I don’t have custom permalinks?

    If you haven’t changed the permalink structure or aren’t even using it, I doubt that .htaccess will be a problem for you.
    I’ve upgraded my installation several times without doing anything to htaccess.
    This new version of WP seems to write to the htaccess file, though. Notably when you use permalinks. Or activate them anyway.

    Thread Starter aubbie

    (@aubbie)

    Thanks!

    If you use the default permalinks (i.e. ?p=453) you don’t need and, unless you’ve created, you don’t have a .htaccess file.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘.htaccess question’ is closed to new replies.