automatic assignment of rel="nofollow" and rel=""noopener noreferrer nofollow"

rachana_patel
ServiceNow Employee
ServiceNow Employee

when I am editing a kb article 

  • all > knowledge >. select any KB article > edit 
  • inside article body section 

    toggle it to HTML view 

    and paste this link 

    <p><a href="https://sahilife.service-now.com">https://sahilife.service-now.com</a></p>

    update article .

    open article like any user would view it.

  • right click and inspect it.
  • hover on the above link inside inspect element
  • you see rel="nofollow" is added on that link automicatally.

 

why does this happen? how come this automatically appends on to our html code? what is the funcationality behind it.

2 ACCEPTED SOLUTIONS

Arun_S1
Tera Guru
Tera Guru

@rachana_patel,


The nofollow value for the rel link attribute is used to signal to search engines that they shouldn’t follow these links and therefore shouldn’t pass any link authority to the link target. Google in particular may, however, choose to ignore this and follow the link and/or pass on link authority.

rel="nofollow" is automatically added by ServiceNow.


To my understanding this attribute nofollow value for the rel link attribute is used to signal to search engines that they shouldn’t follow these links and therefore shouldn’t pass any link authority to the link target. Google in particular may, however, choose to ignore this and follow the link and/or pass on link authority.


I tried the below

1. Added the HREF code from your original post and rel="nofollow" was automatically added.

2. I gave the below HTML code in the KB Article and even in this case rel="nofollow" was automatically added.
<p><a href="/incident_list.do">Incident List</a></p>

Even though the link only redirects to the current ServiceNow incidents list page the attribute is automatically added.


For more information please check the link https://www.contentkingapp.com/academy/nofollow/ 

 

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.

View solution in original post

Sai Kumar B
Mega Sage
Mega Sage

@rachana_patel 

rel="nofollow" may have been added by HTML Sanitizer. There's a system property that enforces sanitization on translated_html fields.

You can refer to this page to know more - https://docs.servicenow.com/en-US/bundle/utah-platform-security/page/administer/security/reference/c... 

 

View solution in original post

4 REPLIES 4

Arun_S1
Tera Guru
Tera Guru

@rachana_patel,


The nofollow value for the rel link attribute is used to signal to search engines that they shouldn’t follow these links and therefore shouldn’t pass any link authority to the link target. Google in particular may, however, choose to ignore this and follow the link and/or pass on link authority.

rel="nofollow" is automatically added by ServiceNow.


To my understanding this attribute nofollow value for the rel link attribute is used to signal to search engines that they shouldn’t follow these links and therefore shouldn’t pass any link authority to the link target. Google in particular may, however, choose to ignore this and follow the link and/or pass on link authority.


I tried the below

1. Added the HREF code from your original post and rel="nofollow" was automatically added.

2. I gave the below HTML code in the KB Article and even in this case rel="nofollow" was automatically added.
<p><a href="/incident_list.do">Incident List</a></p>

Even though the link only redirects to the current ServiceNow incidents list page the attribute is automatically added.


For more information please check the link https://www.contentkingapp.com/academy/nofollow/ 

 

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.

Sai Kumar B
Mega Sage
Mega Sage

@rachana_patel 

rel="nofollow" may have been added by HTML Sanitizer. There's a system property that enforces sanitization on translated_html fields.

You can refer to this page to know more - https://docs.servicenow.com/en-US/bundle/utah-platform-security/page/administer/security/reference/c... 

 

rachana_patel
ServiceNow Employee
ServiceNow Employee

Thanks @Sai Kumar B and @Arun_S1 ,

I appreciate your help,

what if I don't have that to append.  tried to add a{rel} in blacklist but did not work .

 

Amit Gujarathi
Giga Sage
Giga Sage

HI @rachana_patel ,
I trust you are doing great.

When editing a Knowledge Base (KB) article in ServiceNow, follow these steps to add a link:

  1. Go to the "Knowledge" module and select the desired KB article for editing.
  2. Inside the article body section, switch to HTML view.
  3. Paste the following HTML code:

 

<p><a href="https://sahilife.service-now.com">https://sahilife.service-now.com</a></p>

 

  1. Update the article.

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi