Skip to content
Public Ticket #17093

How to Remove "amp/" url

Conversation thread

resarisyan replied

Customer Reply

It's works, thank you

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Plugins > Plugin Editor, select Penci Soledad AMP, locate the file:

includes/sanitizers/class-amp-link-sanitizer.php

Find line 23 with the content:

add_filter( 'the_content', array( $this, '__content_links' ) );

Replace to:

//add_filter( 'the_content', array( $this, '__content_links' ) );

Update file and done.

9oyhubL.png

Regards,
PenciDesign.

resarisyan started the conversation

Conversation Start

How can I remove the "amp/" url in the internal link that is in the amp content

Want to join this conversation or access attachments? Sign in first.