| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#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! | 
| 
			 
			#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. | 
| 
			 
			#3  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			It looks like line 2673 in includes\class_bbcode.php Change Code: return "<a href=\"$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>"; Code: return "<a href=\"$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="ugc"' : '') . ">$text</a>"; | 
| Благодарность от: | ||
| Hostboard | ||
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I have modified mine as: Code: return "<a href=\"$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow UGC"' : '') . ">$text</a>"; | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I used "noopener ugc" in mine.
		 | 
| 
			 
			#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? | 
| 
			 
			#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 [DATE]1600079175[/DATE] at [TIME]1600079175[/TIME] --------------- 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? | 
| 
			 
			#8  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			All mine updated for old links, I'm not sure why yours didn't.
		 | 
| 
			 
			#9  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   Quote: 
 | 
| 
			 
			#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? | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |