Forums
(@webcrazy343)
4 years, 5 months ago
I have no idea why I didn’t think of that and it worked. Sorry for bothering you with the issue.
5 years, 6 months ago
I have inserted this into the main page through the theme editor and it seems to work. Is there any problems with using this code? Again, all of the other page are working great.
<link rel=”amphtml” href=”https://www.myurl.com/?amp”> <script type=”text/javascript”> <!– if (screen.width <= 1100) { document.location = “https://www.myurl.com/?amp”; } //–>
</script>
5 years, 7 months ago
It must have been a caching issue. It appears to be working now! Sorry for bothering you, but at least it reminded me to leave a review.
9 years, 1 month ago
Thanks mbrsolution! That worked perfect!