WordPress.org

Support

Support » How-To and Troubleshooting » where is my .htaccess file?

where is my .htaccess file?

  • muchablogaboutnothing
    Member

    @muchablogaboutnothing

    Hi guys & gals, i’m trying to move my blog to the root directory as per the turtorial ” Giving WordPress its Own Directory” but am not sure where to find my .htaccess file OR which index.html file to copy (there seems to be an index file in each folder withing my wp directory. Any help?!!
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    depending on your FTP-client you may not see the .htaccess file due to its naming convention.

    Also, as long as you haven’t engaged permalinks it is highly likely that your blog doesn’t yet have a .htaccess file at all.

    By any chance, if your webhost provides you with cPanel, you can access the .htaccess file.

    Here’s the steps:
    1. Login to your cPanel (usually: http://YOURDOMAIN.com:2082)
    2. Click on “File Manager” and a new window will popup-up.
    3. Click on the folder icon beside “public_html” and you should see a .htaccess file in there.
    4. I am assuming you’ll have to set permissions to it, so click on .htaccess, and on the top-right corner of the screen, a small menu will appear.
    5. From the menu, click on (not 100% sure) “Set file permission” and then check all the boxes. It should say 777.

    That should do the job. And if you can’t seem to find your .htaccess file because you don’t have cPanel, it’ll be best if you contact your host.

    Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘where is my .htaccess file?’ is closed to new replies.