Jump to content

Can I remove rel="external" from comments?


Fifty50

Recommended Posts

Posted

It seems that rel="external" is automatically being added to links in comments, even to the same domain the forum is on and that also explicitly is whilelisted on System > Settings > Posting > Links > Domains to instruct search engines to follow.

I want to have control over this and don't like to have the

rel="external"

added automatically, but I can't find it in the templates.

Any suggestion where & how to change this?

Thanks!

Posted
2 hours ago, Daniel F said:

Check your Post Settings ( ACP => System => Postings ) and make sure that  Force posted links to open in new windows  is disabled.
 

I prefer to customize this, because I still want external links to open in a new window, but internal (= the whitelisted domain) links not.

Or is there a different workaround for that?

Posted
9 hours ago, Fifty50 said:

want external links to open in a new window, but internal (= the whitelisted domain) links not.

Internal links (from the suite/same domain) are opened in the same window. But whitelisted other domains aren’t “internal” links of course. This is not how that works, since it is not what it means. The whitelisting/blacklisting is about what is allowed, not how it functions. 

Posted
4 hours ago, opentype said:

Internal links (from the suite/same domain) are opened in the same window.

That's what I'd expect. But is not the case.
With us, links to the same domain (but outside IPS) open in a new window and are coded with rel="external".

Note that our IPS is running at ourdomain.com/forum and we have Wordpress running on ourdomain.com (root). Does IPS really check if it's on the same domain - or - does it check if the path starts with the same path as IPS is in (so including /forum)?

Brings me back to the first question: Can anyone point me in the right direction what template do I need to modify to change this behaviour? 

Posted
10 minutes ago, Fifty50 said:

… does it check if the path starts with the same path as IPS is in (so including /forum)?

Yeah, that’s probably it. I did a quick test with URLs inside and outside the suite directory. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...