Login close
 

1 Trackbacks/Pingbacks

  1. Pingback: Securing Your WordPress Site: Locks, Blocks, and Six Smoking Barrels. | Design ICU on July 6, 2012

15 Comments

  1. lazaac December 27, 2011

    how to install this when I’m just using sharing hosting and don’t have root access just cpanel access?

  2. Robert Abela January 2, 2012

    Hi Lazaac,

    You can always upload a .htaccess file even if you do not have root access. You need to upload the .htaccess file to the root of the blog.

  3. Mediafire Movies January 6, 2012

    after uploading the .htaccess file i cant login …………………….please help……..

  4. robertch January 7, 2012
  5. Luigi January 8, 2012

    You can write the htaccess file with an usually editor as notepad or notepad++.
    If you are using Windows, you have to save the file on your computer as htaccess.txt (without dot before). Via FTP or SFTP, you upload your file in wp-admin folder; then, by cpanel, rename the file htaccess.txt in .htaccess (setting chmod in 644). You have see the Type file changing from text file to HTACCESS file.
    If you have not access root, you may upload the .htpasswd file in the same wp-admin directory, together the .htaccess file.

  6. Robert Abela January 9, 2012

    @Mediafire Movies

    It depends what credentials you used in the .htpasswd file. I would recommend you post a more detailed query on our forums; http://www.websitedefender.com/forums.

  7. avi March 10, 2012

    i generate htpasswd by htaccesstools.com but how to place this code into my site.. please please please help..

  8. Robert Abela March 12, 2012

    Hi Avi,

    You just need to upload the htpasswd and htaccess files on your website using the Hosting Provider file manager or FTP client. For more information on how to upload files to you website, please refer to http://www.websitedefender.com/faq/find-website-root-directory/.

    If you have any further queries, please submit your queries on our WebsiteDefender Forums.

  9. Baju anak branded September 27, 2012

    I’m still confused, I already have a htaccess file in the web root. Do I have to duplicate it to wp-admin?
    In this case where I have to upload htpassword?

  10. Robert Abela September 27, 2012

    Hi Baju,

    The .htaccess file in the root of the website has a different purpose. So you have to create a new .htaccess file for the wp-admin section as well. You should place the .htpasswd file in a non web directory ideally, i.e. a directory which is not accessible via web.

  11. Umer Rock October 16, 2012

    and i think it works perfect for security :)

  12. Sojib November 17, 2012

    Please define a sample .htpasswd file for user name sojib and password abc,./

    wp-admin section .htaccess will work with .htpasswd? for prompt a user name password?

  13. Robert Abela November 20, 2012

    Hi Sojib,

    We cannot provide you with such sample, such information is not to be shared public. I would recommend you to find an online htpasswd generator. There are many available.

  14. Nandana May 10, 2013

    Hi, I am using a shared server. can I use it ?? then where do I put .htpassword?? And how do i specify the path in .htaccess??

  15. Chrysostomos Daniel May 13, 2013

    Hi Nandana

    Yes you can use it on a shared server. You could install the .htpasswd file in a directory outside the WordPress root directory. The path will be specified in the .htaccess file in which you will configure the HTTP Authentication. For more information on how to create such .htaccess file please refer to the below link.

    Link: http://www.websitedefender.com/wordpress-security/htaccess-files-wordpress-security/

    Thanks

Sorry, comments for this entry are closed at this time.