Comments resarisyan started the conversationJune 14, 2021 at 5:41amHow can I remove the "amp/" url in the internal link that is in the amp content 2,615PenciDesign repliedJune 14, 2021 at 10:00amHi, Please go to Plugins > Plugin Editor, select Penci Soledad AMP, locate the file: includes/sanitizers/class-amp-link-sanitizer.phpFind 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.Regards,PenciDesign.1 Likeresarisyan repliedJune 15, 2021 at 12:44amIt's works, thank you Sign in to reply ...
How can I remove the "amp/" url in the internal link that is in the amp content
Hi,
Please go to Plugins > Plugin Editor, select Penci Soledad AMP, locate the file:
Find line 23 with the content:
Replace to:
Update file and done.
Regards,
PenciDesign.
It's works, thank you