XF 2.2 Logging in and new user email confirmation taken to page that can't be found

I'm having an issue when logging in. When I log into my forum it takes to me to a page unknown... The same is happening to users when they click on their email confirmation.. When I log in it brings me to example.com/forum/ which is a page an unknown.. It should be bringing me to example.com/forum/forums/ instead. My forum contents is uploaded inside my public_html folder. It's in the same directory with my index. When I first installed and updated XF the forum contents were inside the index folder. Can this be this issue? I try changing the settings in my options/basic options but still having issues. Thanks