Post by vdavidmarques » Fri May 03, 2019 4:58 am

Hi, i would like to know how to redirect customers to google amp page when they are on mobile. I found many codes on jquery ou javascript, but i think it should be in another way on Opencart 2.3.0.2. Im using IIS 8 so htaccess will not work.
I found this way on jquery http://detectmobilebrowsers.com/mobile

and this way on IIS: https://serverfault.com/questions/22704 ... le-specifi
But how it works to redirect to amp page dynamically. If its on product-1- redirect to amp_product_1

Newbie

Posts

Joined
Thu Mar 01, 2018 9:48 pm

Post by rjcalifornia » Sat May 04, 2019 12:50 pm

vdavidmarques wrote:
Fri May 03, 2019 4:58 am
Hi, i would like to know how to redirect customers to google amp page when they are on mobile. I found many codes on jquery ou javascript, but i think it should be in another way on Opencart 2.3.0.2. Im using IIS 8 so htaccess will not work.
I found this way on jquery http://detectmobilebrowsers.com/mobile

and this way on IIS: https://serverfault.com/questions/22704 ... le-specifi
But how it works to redirect to amp page dynamically. If its on product-1- redirect to amp_product_1
Did you try this extension?

https://www.opencart.com/index.php?rout ... n_id=27631

Image


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: No registered users and 4 guests