So I moved my WordPress install to the root folder of my website, which was a huge pain (basically I created a new install and then imported and dragged everything over). But everything is up and working now but the only issue I had was for my Forum. Since my forum sits in a password protected directory (thanks webcrawlers trying to register!) it was causing a 404 error when I tried to go to the folder. It seems that it does’t handle a 401 authentication correctly and incorrectly throws a 404 error after the redirect. All you need to do is add one line to the .htaccess file in WordPress’s main directory. Below is the line you need to add:
ErrorDocument 401 "Unauthorized access"
It’s that simple and that will make the directory function as desired
Related posts:
- Deleting Stubborn Windows Folders Every try to delete a windows folder only to find...
Related posts brought to you by Yet Another Related Posts Plugin.