• Resolved George

    (@giorgos93)


    Hi, I’ve installed your plugin yesterday and explored all it’s settings. Now I have a couple of questions:

    1 – Is there any way, how to add a strict external URL in ‘Exceptions’ tab? Because if I add ‘https://example.com’ as an exception, then ‘https://example.com/article-1’, ‘https://example.com/category-2/article-2/’ and other URLs become exceptions too. I don’t always need that.

    The reason why I’m asking, is because I have a partner, that has a website. I’ve added a link of his main page on my website. And I’ve added this link in exceptions, so it won’t have ‘nofollow’ rule, as other external links. But maybe I will add ‘nofollow’ to some articles of my partner in future, not the main page. How can I do it?

    2 – Can I open internal links in new tab only in certain area? I have a lot of areas, that have to be opened in the same tab. The only area for internal links, that I need ‘target_black’ added for, is .entry-content area only for posts and pages. Can I somehow do that? Add ‘.page .entry-content’ and ‘.posts .entry-content’ somewhere?

    Thanks in advance for an answer!

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

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

    (@talextech)

    Hi,

    1. Anything you add to the list of excepted URLs is used to find all URLs that contain that. For example if you add domain.com/page/ to excepted URLs, any URLs that contain domain.com/page/ like domain.com/page/1 domain.com/page/abc, domain.com/page/subpage will be matched. We don’t have an exact match option ??
    2. We don’t have this option either.

    I will add these to our ToDo list but I can’t give you any dates.

    Thread Starter George

    (@giorgos93)

    About #2: I don’t know, if it’ll be useful for developing your plugin, but someone gave me this code to open links in new tab only in .entry-content area:

    
    jQuery(document).ready(function($) {
    $('body').on('click', '.entry-content a', function(event) {
    event.preventDefault();
    let href = $(this).attr('href');
    window.open(href);
    });
    });
    
    • This reply was modified 3 years ago by Jose Castaneda. Reason: code formatting adjusted using backticks
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A couple of questions about your plugin’ is closed to new replies.