• I’m working on an e-commerce website with two different subdirectories for both Canada and the US with different price lists. We are currently using a free plugin called ip2location to redirect Canadian customers to example.com/ca.
    We use this because woocommerce only supports one location per store so it is easy to calculate shipping charges because of two physical locations we send products from.

    The problem we are experiencing right now is that
    All Canadian customers coming to example.com (through google, SM or any other source) are automatically redirected to a fixed page example.com/ca/shop. I’d like to send them to the original page they searched for instead of a fixed page. The plugin doesn’t show an option to do so.
    Is there any better option to solve this problem?

    Any help is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • That’s gonna be tricky. So basically someone from lets say Canada, clicks on a USA product link, but you want to redirect to the same product but to the Canada version?

    Thread Starter marvgreg

    (@marvgreg)

    @a2hostingrj Yes, the reason we want to do it is because it’s a multisite and they cannot select a Canadian shipping address from the US website and vice-versa. Any idea how to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress redirection by country’ is closed to new replies.