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
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

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


Post by JasonObrien » Thu May 05, 2022 3:01 pm

It's difficult to tell why someone else's publication works a certain way as we don't have access to their setup. However, if you share the link to 20 minutes in Google News, I can take a look for clues.
Last edited by JasonObrien on Fri May 06, 2022 11:52 am, edited 1 time in total.

Newbie

Posts

Joined
Tue Apr 19, 2022 3:00 pm

Post by straightlight » Thu May 05, 2022 5:50 pm

JasonObrien wrote:
Thu May 05, 2022 3:01 pm
It's difficult to tell why someone else's publication works a certain way as we don't have access to their setup. However, if you share the link to 20 minutes in Google News, I can take a look for clues.
It would be as the same analogy as OP users posting about shopping mall requests, unfortunately. It's just how it is.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Dejesus » Sat Aug 06, 2022 2:47 am

I want to redirect all my mobile visitors, that is for example my site link is omnitos.com which gets served to mobile users normally and on google only amp works, but how to redirect all mobile traffic.

Newbie

Posts

Joined
Sat Aug 06, 2022 2:40 am

Post by rjcalifornia » Thu Aug 25, 2022 6:19 am

Dejesus wrote:
Sat Aug 06, 2022 2:47 am
I want to redirect all my mobile visitors, that is for example my site link is omnitos.com which gets served to mobile users normally and on google only amp works, but how to redirect all mobile traffic.
It is better off that you work on making your store's theme mobile friendly, rather than using AMP.

https://amp.dev/documentation/guides-an ... ser-state/

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

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

Post by johnp » Sat Aug 27, 2022 5:13 pm

Unless I'm mistaken that's a WordPress site.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: No registered users and 37 guests