Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2317677
amp links
Closed

Comments

  • mjobran started the conversation

    Hello,

    AMP is not adding the ending trailing slash to our links. e.g.:

    In normal pages the links to AMP in source code is:

    amphtml" href="https://mz-mz.net/amp/1454565"

    In AMP the canonocial is also lacking the trailing slash.

    rel="canonical" href="https://mz-mz.net/1376026"

    Please this must be fixed let us know how to even with hard coding. Thanks


    Jobran

  • mjobran replied

    One more point please:

    - The following js is duplicated in the header. I received that from google webmaster:

    https://cdn.ampproject.org/v0/amp-analytics-0.1.js


    Check source code of my website and let me. Thank you

    https://mz-mz.net/amp/1455878

  •  501
    Penci replied

    Hi,

    1/ I checked on your post ( https://mz-mz.net/amp/1455878  ) on  google amp tool

    I saw the post  ""AMP page is valid" as screenshot https://prnt.sc/rbqrtf

    If you add custom js to amp on your site is is duplicated. Please remove  the custom js.

    2/ About amp link, i'm not clear about the question.

    Do you you want change "https://mz-mz.net/amp/1454565" to "https://mz-mz.net/amp/1454565/" ?


    Best Regards,

    PenciDesign

  • mjobran replied

    Ok let me please explain again both questions. Note that  I agree that AMP is valid.


    1- our website has an ending trialing slash at the end of the address. It is (mz-mz.net/1234/)

    But the auto generated AMP links are not ending with that slash so they look like this: (mz-mz.net/amp/1234) instead of (mz-mz.net/amp/1234/)

    Even if I change the amp structure it will look like this: (mz-mz.net/1234/amp) no ending slash!


    2- Duplicated script below is known origin, can you help? We only use Yoast premium and other non related plugins.

    This s the duplicate JS (amp-analytics-0.1.js) in all of our pages.

    You can help at least y suggesting method of inspection. Thanks


  •  501
    Penci replied

    Hi,

    Please send me: 

    - Your admin url 

    - Your admin account ( username and password ) 

    - Your FTP account ( include FTP host, FTP username, FTP password ) - or your hosting account. 

    In a private reply.

    I will check it help you. 

    Best Regards,

    PenciDesign