From 49250f5094a932a70b576d1dcbb900f359a11d5e Mon Sep 17 00:00:00 2001 From: Simone Bussoni Date: Mon, 24 Feb 2020 10:22:39 +0100 Subject: [PATCH 1/2] Add new "sponsored" and "ugc" options to rel attribute for external links Pull Request for #26312 ###Why https://support.google.com/webmasters/answer/96569?hl=en Advanced users (copywriters, bloggers, etc.) are very concerned about SEO. Their projects often live thanks to affiliation, sponsorship and advertising. It is important to provide them with all the tools necessary for a correct supply of information to the search engine, so as not to be penalized and to constantly improve aspects such as indexing and positioning. These two options specifically help Google identify the behavior of outbound links from Joomla sites, thus providing correct information on what to expect from the connected external source. ### Summary of Changes Add new "sponsored" and "ugc" options to rel attribute of external URL menu type. ### Testing Instructions Add new menu item Select System Links > URL Click **Link Type** tab Click **Link Rel Attribute** dropdown See **spondored** and **ugc** option ### Next Step (not in this PR) Users should select more than one option for "rel" attribute. https://www.w3.org/TR/html401/struct/links.html#adef-rel > rel = link-types [CI] > This attribute describes the relationship from the current document to the anchor specified by the href attribute. > The value of this attribute is a space-separated list of link types. --- administrator/components/com_menus/models/forms/item_url.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/administrator/components/com_menus/models/forms/item_url.xml b/administrator/components/com_menus/models/forms/item_url.xml index b1ad1cd4c2fe7..655402f99d1ae 100644 --- a/administrator/components/com_menus/models/forms/item_url.xml +++ b/administrator/components/com_menus/models/forms/item_url.xml @@ -35,6 +35,8 @@