I just realize that there is already that problem and it was resolved (by wrong search). So, when i did the update, I updated nginx too. So here the post :
So it solved.
[Solved] non-www and www
Everything looks good when we use subdomain with nodebb. But when we use top domain, we have some problems.
First, we have two different urls (example.com) and (www.example.com). If i try to loggin in example.com, i will stay logout on www.example.com.
Secondly, we have duplicate content problem in SEO.
I want to know how to force nodebb to redirect non-www to www and avoid all these problems.
@Bonplansachat You'll want to use url rewriting in your web server.
i use apache and i already try the url rewriting but no changes
Copyright © 2023 NodeBB | Contributors