Support » Fixing WordPress » Where does the .htaccess document go?

  • Resolved karsaa

    (@karsaa)


    Hey,

    I am trying to create a portfolio website that is password protected. I understand that I need to add an .htaccess file to enable this, however where does this go? Does this go in the wp-admin folder or should it sit outside?

    I have tried multiple locations but it never works. I am new to this so I might be doing something wrong I guess.

    Thanks for your help in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you want the entire site to be password protected, the.htaccess file needs to be in the root WordPress folder.

    Thread Starter karsaa

    (@karsaa)

    thanks for getting back esmi.

    I have done that and it won’t let me get to the website. It just gives me a page that says ”internal server error”

    Was there an .htaccess file in the folder already?

    Thread Starter karsaa

    (@karsaa)

    Esmi, I have contacted my provider with regards to this and they have resolved it.

    Thank you so much for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where does the .htaccess document go?’ is closed to new replies.