Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jayconnor

    (@jayconnor)

    I guess that there’s not enough interest in this issue to justify a solution or more follow up.

    I’ll have to disable amp on the homepage – I’m not going to serve different amp content and having links that don’t work is just bad business.

    I don’t know if it is update related but my indexed amp pages having been steadily dropping since the last update anyway.

    Thread Starter jayconnor

    (@jayconnor)

    Hi Ahmed,

    I am adding them using the text editor.

    Below, I have added a space after the opening bracket to invalidate the html for this example. Otherwise, this is the code from my homepage including the formatting:

    This is the link (Jump to topic) that a visitor can click to jump farther down the page:

    < span style=”color: #961006;”>Target Text</span> – < a href=”#target_phrase” >(Jump to topic)< /a>

    This is how that target is identified farther down the page:

    < h4>< a id=”target_phrase”>< /a><span style=”color: #961006;”>This Is The Target Text< /span>< /h4 >

    There are additional “Back To Top” jump links below the content to take the visitor back to the starting point farther up the page.

    I have a suspicion that the issue is being caused by the “#” sign that is used to identify the target phrase:

    < a href=”#target_phrase“>(Jump to topic)

    or perhaps it is the quotation marks – I haven’t tested that.

    Like I saw mentioned in another support thread, I have also noticed that using the “&” sign creates an issue with the amp pages only as every instance of “&” is converted to “&amp”.

    I would appreciate any help – I would like to get these jump links working on the amp page as my content is very long. I have seen an increase in time on site and a decrease in bounce rate since adding the links to the non-amp page; my stats for the amp pages are very poor right now no doubt due to the length of content and it being necessary for visitors to scroll through the page to find what they might be interested in.

    Thanks for your attention!

    Thread Starter jayconnor

    (@jayconnor)

    Hi Ahmed,

    I am adding them using the text editor in the Custom AMP Editor.

    Originally I used the “Copy Content” button, when that didn’t work I manually copied the content from the text editor of the page and pasted it into the text editor of custom amp.

    The html consists of two parts – the “jump” which is formatted as:

    < a href=”#target_phrase”>(Jump to topic)< /a>

    And the “target” which is:

    < a id=”target_phrase” >< /a><span style=”color: #961006;”> Target Phrase < /span>

    I added some spaces above to invalidate the html in this reply.

    Any help or advice is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)