htaccess placement
-
Hello Forum Members.
I recently launched my first WP site. I installed WP into a subdirectory while I was building it and updated the htaccess in the subdirectory to protect the WP install from prying eyes.
Instead of moving the WP subdirectory install into the root, I modified the site address under settings and copied index.php from the subdirectory into the root and everything is working fine. Yay!
Question 1: Do I need to move/copy the htaccess file from the subdirectory with my security settings(ie protecting htaccess, wp-config, directory browsing) into the root or is it fine to leave it in the subdirectory?
Question 2: I do have a htaccess in the root that WP probably generated after I changed the site address in settings, but the root version has no security settings. Is this a security problem?
Thank you for your time and words.
- The topic ‘htaccess placement’ is closed to new replies.