Forums

where IS my .htaccess file? (6 posts)

  1. herbiehysteria
    Member
    Posted 2 years ago #

    hi
    ive been looking for my .htaccess file and cant find it anywhere, i have tried my hosts file manager, FTP (including hidden files) and also wp admin. i had never before chosen a permalink structure, it always remained at default in admin> settings> permalinks>. i only learned that WP only creates the .htaccess file once 'pretty permalinks' are used.

    so i chose my permalink structure and updated. all my permalinks look fine as they should, but i still cant find this .htaccess file.
    please help
    HH

  2. Mark / t31os
    Moderator
    Posted 2 years ago #

    Maybe it wasn't created, upload a blank document to your WordPress folder (where you installed it), doesn't matter what it's named at this stage. Once the file is uploaded, right click and choose rename, and rename the file to ..

    .htaccess

    Notice that the name is the file extension. Permissions for the file should be 644.. or 755(but only when you're changing permalink settings and if it's required to work on your setup).

  3. herbiehysteria
    Member
    Posted 2 years ago #

    t31os_

    Maybe it wasn't created

    is it a critical file or is it anything important? shall i create it 'anyway'?

    if it's required to work on your setup

    how do i determine this? everything seems fine without this .htaccess file.

    thanks for replying?
    HH

  4. Mark / t31os
    Moderator
    Posted 2 years ago #

    It won't harm your site not having one, yes you can just go ahead and create it.

    The file should be given 644 permissions, but you may need to increase that to 755 in order for WordPress to write to the file (when saving permalinks), set the permissions back afterward.

  5. herbiehysteria
    Member
    Posted 2 years ago #

    top man :)
    thank you
    HH

  6. conor909
    Member
    Posted 1 year ago #

    Im new to all this, do I upload a blank .txt file and name it .htaccess? Or do I make a folder called .htaccess?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic