Confused about htaccess location
-
Hello
I’ve been running my WordPress site for 10 years. It’s in a sub directory called WordPress. I’ve just moved to https: and whilst troubleshooting lost social shares I’ve realised I’ve become totally confused about where my htaccess file should be.
I’ve ended up with 2, one in the root and one in the wordpress folder. However, they are both virtually the same (Something went wrong ages back and I found it was fixed when I duplicated the file in both places).
I suspect that I do not need duplicated htaccess files but maybe I do need 2? But with one maybe just doing a small function?
I need my pages to be accessible without the /wordrpress/ part, which is how things are. But can you please tell me where I should have the main htaccess and do I need one in each location?
Many thanks
- The topic ‘Confused about htaccess location’ is closed to new replies.