• Resolved sprede

    (@sprede)


    I installed the wp-security plugin and found that it says i dont have .htaccess in the wp-admin directory and that i need to change the wp_ table prefix in my db. Now i have added the .htaccess to the wp-admin but then it wont bring up the login page, am i doing something wrong? Also, is it imparative that I change the wp_ table prefix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Was there anything in the .htaccess file?

    Changing the table prefix is not necessary, but it is a good security practice.

    Thread Starter sprede

    (@sprede)

    yes i just copied the .htaccess from the my public_html to the wp-admin directory. Was i wrong to do that?

    Moderator James Huff

    (@macmanx)

    Yes, that has the re-write instructions in it specific for your blog directory. What you should do is create a black .htaccess file in the /wp-admin/ directory, then set its file permissions to 644. This will prevent a hacker from hijacking your admin panel by placing his own .htaccess file in that directory.

    Thread Starter sprede

    (@sprede)

    ok got it. Thanks for your help macmanx

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘adding .htaccess to wp-admin’ is closed to new replies.