![]() |
|
Thread Tools |
#1
|
|||
|
|||
Converting rel="nofollow" to rel="ugc"
Hello,
since March 2020, google have applied the rel=ugc, whith is the appropriate rel for user generated content, like it;s in forums, blog comments etc. In vb4, in admin panel, there is only the option for rel="nofollow". How can we convert it to rel="ugc" ? Probably the modification should take part directly in file, since there is no option in admin panel. Can someone guide through this? Thanks in advance for any help! No members have liked this post.
|
#2
|
||||
|
||||
Normally to add ( rel="nofollow" ) to all external links you would open
Admin CP -> vBulletin Options -> BB Code Settings and change Add nofollow attribute to URL BB Code to yes I would assume that where ever this variable is being set, is where it would need to be changed.
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
#3
|
||||||||
|
||||||||
It looks like line 2673 in includes\class_bbcode.php
Change
to
__________________
Better VB.org search The following members like this post: Hostboard
|
#4
|
||||
|
||||
I have modified mine as:
And update the ACP wording accordingly.
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by Hostboard
I used "noopener ugc" in mine.
![]()
__________________
Better VB.org search No members have liked this post.
|
#6
|
||||
|
||||
to expand for others following this therad:
rel=”noopener” is an HTML attribute that’s added to all links that are selected to open in a new browser tab Now my next question is there a pluggin that will put up a warning page that the link they clicked on is an external link and verifying they want to follow?
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
Last edited by Hostboard; 13 Sep 2020 at 21:57. |
#7
|
|||
|
|||
Hello,
thank you for your answers. I did the above modification, but then, after testing it with an inspect on chrome in an external link, it still shows : rel=nofolow. I m wondering what could be wrong. --------------- Added 14 Sep 2020 at 10:26 --------------- Update: I just noticed that newly created links, get the above -correct- rel. Older ones, dont get it. Anyone know how can this be fixed? No members have liked this post.
|
#8
|
||||
|
||||
All mine updated for old links, I'm not sure why yours didn't.
__________________
Better VB.org search No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by multiuser
Do you use a caching service such as CloudFlare?
![]()
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
#10
|
|||
|
|||
Nope! But in server we use litespeed which provides a really strong caching system. I ll check it.
Also. could it be some kind of vbulletin caching? No members have liked this post.
|
#11
|
||||
|
||||
Yeah, maybe check if nocache headers are on or off in your vbulletin settings.
__________________
Better VB.org search No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apply "rel=nofollow" attribute to all parsed URLs | kall | vBulletin 3.5 Add-ons | 113 | 24 Oct 2008 19:53 |
Tags |
rel ugc |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:05.