Inconsistent nofollow dealing with in enter codecs Drupal Development Service Downside Engaged on organising commenting, which is very recommended for websites who’s content material seems on Planet, I got here throughout a little bit of a complicated state of affairs in regard to URLs in content material. When utilizing Drupal Development “Restrict allowed HTML tags and proper defective HTML” filter, considered one of Drupal Development possibility is so as to add rel=”nofollow” attributes to anchor tags. Nevertheless, in Drupal Development default Plain Textual content format, Drupal Development “Convert URLs into hyperlinks” filter doesn’t present that possibility. So if a consumer sorts in an HTML anchor, nofollow will get added. But when they sort in a plain URl, it will get transformed to an HTML anchor with out Drupal Development nofollow. For instance, if I enable anchor hyperlinks to be entered as html and set Drupal Development possibility so as to add rel=nofollow and I additionally allow Drupal Development filter to transform URLs to hyperlinks, if a consumer enters Drupal 10 Upkeep and Assist Service www.nytimes.com One other NY Instances linkThe output HTML in Drupal Development remark is Drupal 10 Upkeep and Assist Service https Drupal 10 Upkeep and Assist Service//www.nytimes.com One other NY Instances hyperlink For commenting, I actually wish to tighten permissions down so far as I can to keep away from potential safety dangers, so Drupal Development Plain Textual content format with Drupal Development “Show any HTML as plain textual content” filter is Drupal Development finest choice1. Nevertheless, for usability I do need URLs transformed to hyperlinks. However I additionally need these hyperlinks set to nofollow for hyperlink fraud prevention2. By enjoying with format filter configurations and ordering I used to be capable of make an answer that works (albeit slightly janky-ly), but it surely positive appears like that is an space the place a core patch might enhance Drupal Development state of affairs. If I’ve time in the future possibly I am going to work on that3. Answer Drupal Development Service resolution I got here up with is to set Drupal Development following filters on Drupal Development enter format (Drupal Development order is important) Drupal 10 Upkeep and Assist Service Show any HTML as plain textual content Convert URLs into hyperlinks Convert line breaks into HTML (i.e. and ) Restrict allowed HTML tags and proper defective HTML Then for Drupal Development allowed HTML tags, I allowed <a href hreflang> <p> <br> and checked Drupal Development `Add rel=”nofollow” to all hyperlinks` possibility. Drupal Development Service result’s that consumer entered HTML is rendered as plain textual content, then URLs and line brakes get transformed to HTML, and eventually Drupal Development Restrict allowed HTML filter double checks Drupal Development markup and provides `rel=”nofollow”` to anchor tags. So given a consumer enter remark like in Drupal Development display shot beneath, Drupal Development ensuing HTML is Drupal 10 Upkeep and Assist Service www.nytimes.com <h2>This shouldn’t be displayed as an h2 aspect.</h2> <a href=”If” rel=”nofollow”>www.instance.com”>If this can be a hyperlink to instance.com and never www.nytimes.com, you have failed.</a>Remark preview exhibiting Drupal Development consumer entered remark, Drupal Development ensuing remark, and Drupal Development assist textual content.Now, this resolution shouldn’t be good. Largely, it is hinky to arrange and I hate that I’ve to permit any HTML, even when consumer enter is first stripped to plain textual content. Secondly although, it is also a consumer expertise downside. As you’ll be able to see in Drupal Development image above, Drupal Development assist textual content says that no html is allowed and that Drupal Development anchor, break, and paragraph tags are allowed. Footnotes 1. utilizing Drupal Development core commenting facility not less than. Add on instruments like Disqus obviate Drupal Development subject however I do not wish to go that route. I additionally do not wish to require (and even enable) customers to register earlier than commenting. And sure, I do require approval of feedback earlier than they’re seen, however I do not wish to have to recollect so as to add rel=nofollow in hyperlinks. 2. Sure. I wish to eat my cake and have it too. 3. I used to be placed on this earth to attain sure issues. At this level I am up to now behind I am going to by no means die. Barrett Solar, 11/27/2021 – 13 Drupal 10 Upkeep and Assist Service18 Tags 8 Planet Add new remark Drupal 10 Improvement and Assist
DataSmith Drupal 10 Upkeep and Assist Service Inconsistent nofollow dealing with in enter codecs

Call Us: 1(800)730-2416
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit
Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)
DataSmith Drupal 10 Upkeep and Assist Service Inconsistent nofollow dealing with in enter codecs
On-Site Drupal SEO Master Setup
We make sure your site is 100% optimized (and stays that way) for the best SEO results.
With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.
This service includes:
- Pathauto install and configuration for SEO-friendly URLs.
- Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
- Install and fix all issues on the SEO checklist module.
- Install and configure XML sitemap module and submit sitemaps.
- Install and configure Google Analytics Module.
- Install and configure Yoast.
- Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
- Install and configure Schema.org Metatag.
- Configure robots.txt.
- Google Search Console setup snd configuration.
- Find & Fix H1 tags.
- Find and fix duplicate/missing meta descriptions.
- Find and fix duplicate title tags.
- Improve title, meta tags, and site descriptions.
- Optimize images for better search engine optimization. Automate where possible.
- Find and fix the missing alt and title tag for all images. Automate where possible.
- The project takes 1 week to complete.
