[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.
e.g. http://stackoverflow.com/questions/7947030/nginx-no-www-to-www-and-www-to-no-www
-
i use apache and i already try the url rewriting but no changes
Copyright © 2024 NodeBB | Contributors