erikras / erikras/react-redux-universal-hot-example
Problem with www to non-www redirect
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I'm currently using apache as server and I stock with this kind of redirect. When user is going to **www.site.com** he must be forwarded to **site.com**
My .htaccess looks like this
```
RewriteCond %{HTTP_HOST} !^site.com$ [NC]
RewriteRule ^(.*)$ http://site.com/$1 [L,R=301]
```
And it works when I turn off the node server. But when server is on it looks like the express is forwarding requests by itself.
Also investigated that demo isn't redirecting. **https://www.react-redux.herokuapp.com/** won't work.
Contributor guide
Assessment
This issue has not been assessed yet.