Discourse sign in redirects to root directory instead of subfolder

I configured my discourse forum to be in a subfolder(migrated from subdomain to subfolder which entailed moving from hosted by discourse to self hosted) by following the guidelines on doing that. Now everything works, except for the fact that if I login(regular login), it logs me in and redirects to the root directory instead of the subfolder.

E.G I login @ www.website.com/forum/login and it redirects to www.website.com instead of www.website.com/forum after login.

1 Like

Most everyone thinks a subdomain is better, but you do you.

Did you follow Serve Discourse from a subfolder (path prefix) instead of a subdomain

Yes I did
Also, using subfolder for seo reasons.