• Resolved skatesweb

    (@skatesweb)


    Hi,
    I was running my store on .com domain. I decided to copy it on .co.uk domain to manage both separately for UK & USA customers.

    Now I wanted to create redirects based on customer IP, if customer is visiting (example.com/product/ankle-strap) from UK, it should display a popup of the country from where it is visiting and ask to redirect him to the UK version of that page, like:(example.co.uk/product/ankle-strap). Like we see in many e-commerce stores.

    Everyone is giving solutions about a static URL redirect where visitors visiting example.com from the UK will be redirected to example.co.uk, this works only for homepages or any specific page set by us.

    which is not a complete solution for an online store as e-commerce stores have 100’s of pages and we cannot set all of them one by one. I wanted it to work dynamically.

    I believe that it is possible with If-so (The best geo tool in the market). am just finding it difficult to implement

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @skatesweb,

    We are currently exploring automated solutions to simplify the process. I will provide an update at the beginning of next week.

    In the meantime, do you have a list of all the relevant pages that require redirection? If so, our CSV extension might be a suitable solution for your needs. Please let me know, and I’ll be happy to provide further details.

    Thread Starter skatesweb

    (@skatesweb)

    I find waiting for a week more suitable for me. It’s been a week now. I will be happy to see a solution for it.

    In the meantime, do you have a list of all the relevant pages that require redirection?

    Since it’s an E-Commerce store, as I explained in my first response. I would like to apply it to the whole store. Especially the Homepage, all category/Shop pages, product pages, etc. which are crucial for an e-commerce store.

    Hi @skatesweb,

    I’m pleased to share that we likely have the exact solution you’re looking for. It should be ready by next week. I’ll reply here and send you a link to download the development version once it’s done.

    Thread Starter skatesweb

    (@skatesweb)

    Isn’t that what you told me last week too? but that’s fine. Take your time ??

    Am waiting, Hope I will see it next week.

    Kola Apps also provides the exact same solution I want but it’s out of my budget. You can see: https://koalaapps.io/product/country-based-website-switcher-for-woocommerce/

    Hi @skatesweb,

    We just published a new version (version 1.7.1). The new version includes the option to create a ‘Dynamic Redirect’ – set a URL template for the redirection shortcode so that the redirection URL will be created dynamicly for each page.

    Setting up the template is done using parameters. You can replace each parameter with a static string of text.

    As for your use case, if you want to redirect all your product pages to a co.uk page, all you need to do is to add the following shortcode to all of your product pages:

    [ifso-redirect url='{{SCHEME}}://{{DOMAIN}}.co.uk{{PATH}}']

    Including the shortcode on all your product pages can be accomplished at once by incorporating the shortcode in the product page template using PHP. You can use the following function:

    <?php echo do_shortcode("[ifso-redirect url='{{SCHEME}}://{{DOMAIN}}.co.uk{{PATH}}']"); ?>


    I hope that helps. Please feel free to contact me for any further assistance.

    For more information:
    https://www.if-so.com/dynamic-redirect/

    Thread Starter skatesweb

    (@skatesweb)

    The page: https://www.if-so.com/dynamic-redirect/ has no content on it.

    I just don’t want to redirect the skatessports.com user to skatessports.co.uk, I want to show a popup when user IP address is USA but user is visiting skatessports.co.uk,
    so in the popup it gives the user option when he wants to redirect to USA version of this page or stay on UK site.

    Just like alphaleteathletics.com and Kola Apps also provides the exact same solution I want but it’s out of my budget. You can see:?https://koalaapps.io/product/country-based-website-switcher-for-woocommerce/

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirect visitor to another ccTLD based on location but stays on same req. page’ is closed to new replies.