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
Online

Posts

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

Post by knowband.plugins » Fri Sep 06, 2019 1:52 pm

Hi,
You can try Accelerated Mobile Pages extension. The extension is quite easy to use, install and configure and there is no requirement of any coding or technical skills.

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm

Who is online

Users browsing this forum: No registered users and 6 guests