AMP WP Home page issue
-
My blog uses permalink, so permalink is
/news/%postname%.html
/news/
is part of the permalink and NOT the location of wordpress installation.Wordpress is installed at
/
main domain root.With this situation, If I enable AMP WP for home page, can see following issues.
Source code of the normal home page shows AMP home page URL as:
https://www.onlanka.com/news/amp
, but AMP home page actually loading on:https://www.onlanka.com/amp
Another problem is search link showing as
https://www.onlanka.com/news/amp?s
but actually search page loading onhttps://www.onlanka.com/amp?s
Currently I’m redirecting those URLs to non AMP location due to avoid 404 error.
Also I sent an email on exclude URL setting.
Exclude URL only work at AMP home page, not in inner pages (maybe due to this permalink structure).
Also only one URL excluding even I added few URLs to exclude list (only the first one working)
The page I need help with: [log in to see the link]
- The topic ‘AMP WP Home page issue’ is closed to new replies.