exsith
Forum Replies Created
-
Thanks, it works!
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endI understood how this error appears. This happens if in “Permalinks/Custom Structure” you set the value “/%postname%”. Can you somehow fix it?
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the end- Here are the plugin settings, the value “AMP URL Format” is set as “End Point – At the end of URL” https://prnt.sc/maxy0e
- In the code of the category, page and post this line https://prnt.sc/maxyrx
- At the same time, the URL of such a page (with slash at the end) gives an incorrect HTTP header with the code 301 Moved permanently http://prntscr.com/may0cw
- And redirects to the page without a slash, which is wrong https://prnt.sc/may0zm
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endThe slash symbol “/” at the end of the URL.
For example,https://test.com/post/amp/Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endhttps://headers.cloxy.net/
On any other service, the check gives the same results.The problem occurs only when the plugin is set to show a slash at the end of the address, while on your online demo slash is at the beginning.
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endAfter updating the problem is the same as before. In all three types of taxonomies (categories, pages and posts) in the code there is a slash at the end (as it should be), but at the same time, when checking HTTP response headers it gives 301 Moved Permanently. And the redirect goes to the address without a slash https://prnt.sc/ma073q
Can you fix this?- This reply was modified 7 years, 4 months ago by exsith.
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endYour demo server is https://demo.ampwp.io/amp/, right? If it is, then there is a slash at the beginning, in this case there will be no errors. And I mean when the slash is at the end.
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endIf your demo site is https://demo.ampwp.io/amp/ then there is a slash at the beginning and not at the end.
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endHomepage:
- All OK!
Category:
- In the code:
<link rel="amphtml" href="domain.com/category/amp/" />[OK!] domain.com/category/amp/– HTTP header 301 Moved Permanently ->domain.com/category/amp[WRONG!]domain.com/category/amp– HTTP header 200 [WRONG!]- All links in the AMP version lead to
domain.com/category/amp/[OK!]
Posts:
- In the code:
<link rel="amphtml" href="domain.com/post/amp/" />[OK!] domain.com/post/amp/– HTTP header 301 Moved Permanently ->domain.com/post/amp[WRONG!]domain.com/post/amp– HTTP header 200 [WRONG!]- All links in the AMP version lead to
domain.com/post/amp/[OK!]
Pages:
- In the code:
<link rel="amphtml" href="domain.com/page/amp/" />[OK!] domain.com/page/amp/– HTTP header 301 Moved Permanently ->domain.com/page/amp[WRONG!]domain.com/page/amp– HTTP header 200 [WRONG!]- All links in the AMP version lead to
domain.com/page/amp/[OK!]
Forum: Reviews
In reply to: [AMP WP - Google AMP For WordPress] Crashed my websiteBefore activating, you must disable all other AMP plugins.
Now I have this code for youtube video
<iframe width="800" height="450" src="https://www.youtube.com/embed/XXXXXXXXXXX?rel=0&modestbranding=1" sandbox="allow-scripts allow-same-origin allow-presentation" style="border: 0;" allowfullscreen=""></iframe>- This reply was modified 7 years, 5 months ago by exsith.
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] Slash at the endThis is what the problem is in detail.
Homepage:
- In the code:
<link rel="amphtml" href="domain.com/amp/" /> domain.com/amp/– HTTP header 200domain.com/amp– HTTP header 301 Moved Permanently ->domain.com/amp/- All links in the AMP version lead to
domain.com/amp[WRONG!]
Category:
- In the code:
<link rel="amphtml" href="domain.com/category/amp/" /> domain.com/category/amp/– HTTP header 301 Moved Permanently ->domain.com/category/amp[WRONG!]domain.com/category/amp– HTTP header 200 [WRONG!]- All links in the AMP version lead to
domain.com/category/amp/
Posts:
- In the code:
<link rel="amphtml" href="domain.com/post/amp/" /> domain.com/post/amp/– HTTP header 301 Moved Permanently ->domain.com/post/amp[WRONG!]domain.com/post/amp– HTTP header 200 [WRONG!]- All links in the AMP version lead to
domain.com/post/amp/
Pages:
- In the code:
<link rel="amphtml" href="domain.com/page/amp/" /> domain.com/page/amp/– HTTP header 301 Moved Permanently ->domain.com/page/amp[WRONG!]domain.com/page/amp– HTTP header 200 [WRONG!]- All links in the AMP version lead to
domain.com/page/amp/
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] amp-wp v1.4 problemThank you, it works!
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] amp-wp v1.4 problemAfter several cleanings of the cache and after a while the styles have been fixed, now they are displayed correctly in the admin panel. I do not know why this happened. New style plugin I really like. The second problem with 404 errors remained the same.
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] amp-wp v1.4 problemAll the same problems. The cache has been cleared. The pages of the plugin in the admin look awful, the whole layout is wrong https://prnt.sc/lue8ji https://prnt.sc/luedax https://prnt.sc/luedkx
Also, if I turn on the “AMP URL Format” option to “End Point – At the end of the URL”, the category pages and any other pages give a 404 error. With the option turned off (“Start point – At the beginning of the URL”, as it was before), everything works.- This reply was modified 7 years, 6 months ago by exsith.