docs($htaccess): Fix some urls not working

- Fixing index pages for directories (e.g., .com/api/)
- Fixing index pages for branches and tags (e.g., .com/branch/, .com/tag/)
- Fixing loss of ability to look at tag-specific docs (e.g., .com/tag/3.9.0/)

[skip ci]