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 #2801441
How to Remove "amp/" url
Closed

Comments

  • resarisyan started the conversation

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

  •  2,615
    PenciDesign replied

    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 replied

    It's works, thank you