1

I'm currently working on an page that heavily relies on Accelerated Mobile Pages (AMP) as base and also provides an extended Progressive Web Apps (PWA) version to all returning users with support for ServiceWorker. Chrome, FF and Opera users will get receive the PWA page as returning visitors, even if they use an URL for a AMP page. Safari and Internet Explorer users will see the AMP page if returning to a AMP URL. AMP pages are found on the default URL and the extended PWA version uses a HTL selector to render a page with additional functionality, e.g.: AMP: /category/article-name.html PWA: /category/article-name.pwa.html

I would like to redirect Safari Users from /category/article.html to /category/article.pwa.html if they are returning visitors and a cookie has been set. I couldn't find a matching example including a wildcard for article slugs (e.g. /design/got-to-know.html and /innovation/best-innovators.html) and selectors like ".pwa.html" on the akamai documentation.

Imran Saeed
  • 3,414
  • 1
  • 16
  • 27
Peer Weidner
  • 61
  • 1
  • 3
  • Is there any strong reason to do it on Akamai only? I have normally implemented cookie rules on Apache (Dispatcher) level. – Imran Saeed Jul 21 '17 at 07:16

1 Answers1

2

Yes, you should be able to easily configure this in the Luna Property Manager under the Redirect Rules Section. Have a look at this.