Changing base url for webpage

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version: Ubuntu 22.04

Product Name/Version: (Always use the full version number - not ‘Latest’)
AMP 2.4.4
Problem Description:
I currently have HAProxy set up for SSL termination and for path-based routing. Now, I would like to incorporate the AMP platform in a similar manner. Currently, I have AMP working as the default backend.

I attempted to set the base URL to “mydomain/amp” and used Rewrite Requests to remove the “amp” part from the URL. This approach allows me to access the main page successfully, but it doesn’t consider the base URL to load all derived links. Is there a recommended approach to achieve this properly?

Thank you.

Using a subdirectory is not supported. AMP must be on its own subdomain.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.