AI Search
Classic Search
Notifications
Clear all
Search result for: external links
Hi @ashish,
Before submitting the post, if the post content has "a href" with "rel" attribute, the "rel" attribute will be what you have selected. When you make a Link, Open Link In New Tab Checkbox by default will be selected, selected checkbox will make the URL dofollow.
If you had not selected the "rel" attribute, wpForo system will choose "rel" attribute by the link type(external, internal).
Could you please explain it simpler? So you want all URLs to be opened in a new tab? At this moment all external URLs are opened in new tab, only internal (URLs within your site) are opened in the same tab.
@alvina we know that and is good, but we want to add the Nofollow+noopener+noreferer atribute such other forums does.
This type of atrubute do not transfer any authority to the external linking site... so this way we can avoid SPAM on our forum site of SEO's trying to gain authority to their sites by puting the link in ours..
Please see the atatched screenshot to undertand better what we are talking about.
Kind regards
< span style="color: #666;"> Attachment : rel-no-refferer-no-opener.jpg
WOW! thank you so much your changes worked!
@stevenminix,
Please leave a direct link to the post where I can see an external link. Also, leave some screenshot of the code you've instead in current active WordPress theme functions.php .
I also recommend change this hooks:
add_filter( 'wpforo_content', 'bd_hide_external_link' );
to this:
add_filter( 'wpforo_content_after', 'bd_hide_external_link', 10, 2 );
And please change your function first line from this:
function bd_hide_external_link( $content ) {
to this:
function bd_hide_external_link( $content, $post = array() ) {
@artyr,
In wpForo, the icons (such as forum icons or profile icons) are often linked by default, which can sometimes lead to broken links or unwanted indexing by search engines. To change or remove these links, you would typically need to customize the forum template files or use CSS/JavaScript to disable the links.
One approach is to override the template files where these icons are rendered and remove the anchor tags wrapping the icons. Another simpler way is to use CSS to disable pointer events on the icon links, effectively making them unclickable, for example:
#wpforo a .wpf-icon-class { /* replace with actual icon link class */
pointer-events: none;
cursor: default;
}
Additionally, to prevent search engines from indexing these links, you can add a rel="nofollow" attribute to the anchor tags in the template files or via filters if available.
Since wpForo does not provide a direct setting for this, you may need to customize your theme or child theme files or use hooks if you want a programmatic solution.
If you want specific guidance on which template files to edit or how to apply CSS for your particular icons, please specify which icons you want to modify (e.g., forum icons, profile icons, post icons).
For more detailed customization, you might consider consulting wpForo support or their community forums.
Robert i do not understand what you say.
But i see that outgoing links are now NOFOLLOW and that is a very bad choice. Why nofollow?
<a class="wpforo-auto-embeded-link" href="https://wordpress.org/documentation/article/debugging-in-wordpress/" target="_blank" rel="nofollow">
< span style="color: #666;"> Attachment : Screenshot.png
Hi @thedrawingboard . You're welcome.
Now I am understanding the query better! (English isn't my primary language, so I translate in my head and figure things out in my native language and then translate it back to English using the written word... 🙂 .. sometimes drawings or pictures communicate better).
(1) Yes. The "Blue bar" is a "Forum - Used as a Category", under Forum Options. The instructions I typed above are for regular Forums, or those that are under the Blue Bar.
BUT the above instructions also work for your query.
(2) Here's how to create Forum Menu links to a Forum-Category:
1) Go to Forum Dashboard2) Select Forums3) Then, notice the "Eye" icon on the farthest right of the blue bar. Right click on the "Eye" icon, and then "Copy Link Address" and then reuse the steps 1 to 16 above. Same concept. 🙂
< span style="color: #666;"> Attachment : wpForo_ForumDashboardExtendedLayoutCategoryLinks.jpg
Hope that helps. Good luck and God bless you! 🙂
P.S. Regarding this:
(3) I tried a custom link (like you mentioned in your instructions) to the slug for the main forums, but that didn't work. For example, I tried:
/%wpforo-main-category%/
I don't think the code you tried would work, since a forum can have a gazillion categories, and the Menu code won't know where to go, unless you specify the "Forum ID". The codes I suggested on my earlier response are wpForo codes for the default wpForo Forum Menu links that I copy pasted from my own wpForo installation (since in the beginning, I also made several mistakes and lost my wpForo Menu and I had to reconstruct! LOL! That's why I know now how to fix it.) . 🙂
But if you want a Menu link to specific categories, the tip above is what I know how to do and it should work. Hopefully. 🙂
For me all links open by default to a new tab. Not sure why it doens't to some people.
In any case, it has been covered:
Thanks Robert 🙂
Im not sure even if we are understanding eachother on the concepts, but I think so
By "all external links" you mean "any" external link, correct?
And if by topic you mention the "root topic", its even worse as I was asking for a particular message within the topic 🤣 , meaning linking to a particular height within a page, so even if we are getting mixed with the definitions, something its clear, it can be done... oh well...
Thanks 🙂
... maybe in 2 months.
4. a) Disable user profile,b) add "noindex" in profile
You can disable user profile using "Can View Profiles" and "Can View Members" permissions in Usergroup settings.
5. Disable add any atachment
This can be managed in Forums > Settings > Forum Accesses admin page, for according access role. Just edit and disable Can Attach / Can View Attachments permissions.
6. No follow in external link
This already exists. Check all external URLs, for example in Showcases and you'll see the rel="nofollow" attribute.
7. When I write ...
Ok, then the profile issue is solved, you don't need to worry about do-follow links because they aren't being indexed.
I checked the examples in the forum, both have nofollow tag. if you have other examples please provide. Currently I don't see any issue in your forum.
The function to set nofollow the external links also works fine:
No thanks. I run a news site with many other features in it, the forum is just a part of it, most of the links are internal and open in the window.Also adding plugins can slow the site and cause conflicts, plus security issues. links in the forum, especially if they are an external url, should open in a new tab logically. Thus keeping people in the forum.
... we don’t have choice.
1. Free online sitemap generator xml-sitemaps.com Before you need robots.txt close “Disallow” pages which you want close from indexed. After create online sitemap. You can check html version, if all ok, you downloaded xml file after past him in root folder your site. Also you will have sitemap... I’m long time use this is generator, very good tool. Him also have some pro version, but I was use all time free version.
2 WP plugin simple plugin sitemap. Here you can copy past
Very easy. Ofcourse this not best solution, because ...
Thank you but lets assume I allow the profile to be edited after a while (lets say 4 posts), then the user can add dofollow links using about me, website, and signature sections after they have posted a few times. How can I remove the insert/edit link feature. For example I can add a link by clicking the insert/edit link option in this text editor and add a link like this
I am sure there is code that can just remove that linking feature from the about me and signature text editor.
I would like to remove the insert/edit link feature from the text editors of posts as well. So if someone wants to post a link, they can just type abc.com and it stays unlinked since there is no linking feature. Right now I have Min number of posts to be able to post links set to 100000 so that people cant post links BUT what happens is that the linking option on the editor is still there and people dont know they that cant post links. So when they post a link, it looks like this: Nice. <a href=" removed link ” target=”_blank” rel=”noopener”>Abc
This looks ugly and the user could get annoyed that they posted a link (since it could be non-spam) so I just want to take away the linking feature for good.