404 error for AMP page and URLs settings
-
Hi!
Thank you for such a great plugin.
It’s awesome when Google help developers to make websites on WordPress better!We’ve created posts and everything was great.
We use Classic mode in AMP settings and use AMP templates in the theme.But we’ve faced with two problems:
1) when we modify post and also change post URL (slug) the AMP page URL stops working.For example:
1.1. we have post https://example.com/seven-beautiful-websites
So AMP page will have URL https://example.com/seven-beautiful-websites/amp1.2. We change amount of websites mentioned in the post and have next slug (also we use 301 redirect for Search engines): https://example.com/ten-beautiful-websites
So AMP have to change it slug too, and should be: https://example.com/ten-beautiful-websites/ampBut it won’t happened.
2) we don’t understand what link is correct for AMP pages.
I mean when the plugin was released the test url was https://example.com/seven-beautiful-websites?amp, and https://example.com/seven-beautiful-websites/amp was for search engines.Now in <link rel=”amphtml”> tag we have ?amp for some pages and /amp for others.
What is wrong? (I think maybe there is a difference because it different post types)Sorry for my English, maybe something is not so clear, so I’m happy to discuss.
Thanks for your suggestions.
- The topic ‘404 error for AMP page and URLs settings’ is closed to new replies.