Redirect solution

22 views
Skip to first unread message

Todd Lane

unread,
Mar 17, 2017, 4:25:40 PM3/17/17
to nodejs
Hi,

Newbie here.

I am wondering if there is a module that can handle redirects based on ip address as well as the ability to redirect based on a users Country?

For example based on users country ip they get redirected to mydomain.com/en-us or once a user logs in they get redirected to (for example) mydomain.com/en-au

Basically want to have separate country based sites (like Microsoft.com)

Thanks in advance

Todd

Matt

unread,
Mar 19, 2017, 12:46:14 PM3/19/17
to nod...@googlegroups.com
You could build something with this: https://www.npmjs.com/package/country-detector

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscribe@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/390fb27a-c8f8-461a-ab4d-3a5218470497%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages