Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Fifty50 Posted September 17, 2017 Posted September 17, 2017 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!
Daniel F Posted September 17, 2017 Posted September 17, 2017 Check your Post Settings ( ACP => System => Postings ) and make sure that Force posted links to open in new windows is disabled.
Fifty50 Posted September 17, 2017 Author Posted September 17, 2017 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?
opentype Posted September 18, 2017 Posted September 18, 2017 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.
Fifty50 Posted September 18, 2017 Author Posted September 18, 2017 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?
opentype Posted September 18, 2017 Posted September 18, 2017 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.