• Resolved adrianrt

    (@adrianrt)


    Hi all,

    I’m using the AMP plugin which generates internal links with nofollow and I’m trying to remove the nofollow attribute, but this isn’t working. If I try to add the “noopener” attribute on the same link it’s working. so It seems just overrriding nofollow with follow is not working.

    see any amp page on https://fortbridge.co.uk/blog/?amp=1

    Thanks.

    WP url:  https://fortbridge.co.uk
    WP version:  6.0
    PHP version:  7.4.30
    Active Plugins:
     - Add Expires Headers & Optimized Minify, version: 2.6
     - AMP, version: 2.3.0
     - Contact Form 7, version: 5.6
     - Editor Full Width Gutenberg, version: 1.0.5
     - HSTS Ready, version: 1.03
     - MC4WP: Mailchimp for WordPress, version: 4.8.7
     - Semrush SEO Writing Assistant, version: 1.2.1
     - Simple Custom CSS and JS, version: 3.40
     - SiteGround Optimizer, version: 7.1.3
     - SiteGround Security, version: 1.2.9
     - Site Kit by Google, version: 1.75.0
     - SVG Support, version: 2.4.2
     - Wordfence Security, version: 7.5.11
     - WP External Links, version: 2.51
     - WP Post Author, version: 2.0.4
     - WProofreader, version: 2.6.5
     - WP Spell Check, version: 9.12
     - Yoast Duplicate Post, version: 4.4
     - Yoast SEO, version: 19.1
     - Yoast SEO: Local, version: 14.4
     - Yoast SEO: News, version: 13.1
     - Yoast SEO: Video, version: 14.5
     - Yoast SEO Premium, version: 18.7
    
    WPEL Settings:
    array(
    'wpel-external-link-settings' => array (
      'apply_settings' => '1',
      'target' => '',
      'target_overwrite' => '',
      'rel_follow' => '',
      'rel_follow_overwrite' => '',
      'rel_noopener' => '1',
      'rel_noreferrer' => '1',
      'rel_external' => '1',
      'rel_sponsored' => '0',
      'rel_ugc' => '0',
      'title' => '{title}',
      'class' => '',
      'icon_type' => '',
      'icon_image' => '1',
      'icon_dashicon' => '',
      'icon_fontawesome' => '',
      'icon_position' => 'right',
      'no_icon_for_img' => '1',
    ),
    'wpel-internal-link-settings' => array (
      'apply_settings' => '1',
      'target' => '',
      'target_overwrite' => '1',
      'rel_follow' => 'follow',
      'rel_follow_overwrite' => '',
      'rel_noopener' => '',
      'rel_noreferrer' => '',
      'title' => '{title}',
      'class' => '',
      'icon_type' => '',
      'icon_image' => '1',
      'icon_dashicon' => 'dashicons-menu',
      'icon_fontawesome' => 'fa-address-book',
      'icon_position' => 'right',
      'no_icon_for_img' => '1',
    ),
    'wpel-excluded-link-settings' => array (
      'apply_settings' => '',
      'target' => '',
      'target_overwrite' => '',
      'rel_follow' => '',
      'rel_follow_overwrite' => '',
      'rel_noopener' => '1',
      'rel_noreferrer' => '1',
      'title' => '{title}',
      'class' => '',
      'icon_type' => '',
      'icon_image' => '1',
      'icon_dashicon' => '',
      'icon_fontawesome' => '',
      'icon_position' => 'right',
      'no_icon_for_img' => '1',
    ),
    'wpel-exceptions-settings' => array (
      'apply_all' => '1',
      'apply_post_content' => '1',
      'apply_comments' => '1',
      'apply_widgets' => '1',
      'skip_post_ids' => '',
      'ignore_classes' => '',
      'subdomains_as_internal_links' => '',
      'include_urls' => '',
      'exclude_urls' => '',
      'excludes_as_internal_links' => '',
      'ignore_script_tags' => '1',
      'ignore_mailto_links' => '1',
    ),
    'wpel-admin-settings' => array (
      'own_admin_menu' => '1',
    ),
    );
    • This topic was modified 1 year, 10 months ago by adrianrt.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Please check the box “Overwrite existing values.” under the Set follow or nofollow option 🙂

    Thread Starter adrianrt

    (@adrianrt)

    hi Alexandru (Salut),

    I did do that.

    There’s still a link where this doesn’t work:
    <a rel="nofollow" href="https://fortbridge.co.uk/blog/?1241242141299912412&noamp=mobile" data-wpel-link="internal"> Exit mobile version </a>

    • This reply was modified 1 year, 10 months ago by adrianrt.
    • This reply was modified 1 year, 10 months ago by adrianrt.
    Thread Starter adrianrt

    (@adrianrt)

    hi Alexandru,

    any idea about how to solve the above issue?

    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘nofollow override on internal links not working with AMP plugin’ is closed to new replies.