Accelerated-mobile-pages: #335 and Index page 1st post issue

Created on 3 Jan 2017  路  1Comment  路  Source: ahmedkaludi/accelerated-mobile-pages

Steps to create the bug :

  1. go to all posts
  2. go to the first post (edit mode)
  3. then select Hide AMP
  4. save and update
  5. go to URL : localhost/
  6. now you can see that rel canonical is removed....it can be done for all page's 1st post and you will find rel canonical is removed for each

Reason 馃憤
use get_permalink() on index page and you will observe that 1st post url is returned...which is wrong and its the same with page 2,3,4,5.....

Solution :
First Exclude posts that have show amp hidden true
then fix the get_permalink() for index page

NEXT UPDATE Urgent bug

Most helpful comment

Need quick solution.

>All comments

Need quick solution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  4Comments

daanishd picture daanishd  路  5Comments

AlexeyKosov picture AlexeyKosov  路  7Comments

luan03 picture luan03  路  3Comments

ghost picture ghost  路  6Comments