WordPress.org

Ready to get started?Download WordPress

Forums

where is my .htaccess file? (3 posts)

  1. muchablogaboutnothing
    Member
    Posted 7 years ago #

    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!

  2. lhk
    Member
    Posted 7 years ago #

    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.

  3. wsmokah
    Member
    Posted 7 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic