How can i change amp url

Posted in: Newspaper
Post count: 82

Hi,

How can I change amp url. Instead of this ?amp i need /amp

Thanks.

Post count: 35449

Hi,

Sorry using our theme and general amp plugin this is not possible, maybe you can do this if you make changes in theme and plugin files, but I’m not sure for this.

Thank you for your understanding!

Post count: 82

I know we can change, but can you tell in which exact file I can find. Because you have many single.php files now

Post count: 35449

Hi,

Please note that this is a custom work, and the ?amp is coming from general amp not our theme, also there is not only one file where is set the ?amp, there are more -> https://i.imgur.com/fCHaFxX.png, also we do not recommend to make these changes because this can provide problems and the changes will be lost when you’ll make a theme or plugin update.
wp-content/plugins/amp/includes/validation/class-amp-validation-manager.php -> https://i.imgur.com/SfTM7Uw.png -> https://i.imgur.com/VOJkBaA.png
wp-content/plugins/td-cloud-library/includes/tdb_functions.php -> https://i.imgur.com/OMs0L3v.png
wp-content/plugins/td-composer/mobile/header-amp.php -> https://i.imgur.com/LroaHsA.png
wp-content/plugins/td-composer/mobile/functions.php -> https://i.imgur.com/ctI7mxw.png

This is all I can do to help you!
Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.