AMP post absolute URL is not so
See original GitHub issueHello, I’m running 1.24.8 and I don’t see anything related in more recent Release Notes nor Issues.
Ghost is installed in a subfolder https://mywebsite.com/blog/
Add a link to an absolute URL like [somewhere](/somepage.html)
in some post
Non-AMP version renders correctly https://mywebsite.com/somepage.html
On the AMP version it renders relative like https://mywebsite.com/blog/somepage.html (404)
Anyone else noticed this behaviour?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Can the amphtml link tag use relative href instead of absolute?
Even if it happens to work, it is much better to use absolute links for this purpose because the document could appear in...
Read more >Google takes a tiny step toward fixing AMP's URL problem
Google is trying to fix AMP URLs by announcing support for something called “Signed Exchanges.” What it should mean is that when you...
Read more >AMP status report - Search Console Help - Google Support
This report helps you fix errors that prevent your AMP pages from appearing in Google Search results with AMP-specific features.
Read more >What's in an AMP URL?
Paul's post goes into great detail describing the benefits of AMP Caches, but it doesn't quite answer the question why they require new...
Read more >Allow 'search_api_url' field to index absolute url - Drupal
Add a config option to the AddURL plugin allowing administrators to set the field to index absolute instead of relative URLs, then simply...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kirrg001 thanks for the explanation ⭐ Yeah, my questions were related to the observations that I’ve made during code exploration. It all makes sense to me now.
@tucoinfo wasn’t able to reproduce your bug unfortunatelly. Could you maybe provide a step by step guide on reproducing the bug. Maybe I’m just missing some step when trying to replicate it locally. Thanks!
@gargol that’s clear, and thank you for the v2 warning.