Kentico override robots meta tag - kentico

According to the Kentico Documentation, Kentico automatically adds the following tag when I exclude the page from search:
<meta name="robots" content="noindex,nofollow" />
But I need it to be "noindex,follow"
I've tried removing it in my canonical webpart under the OnPreRender method but Kentico is somehow adding the robots tag after that event.
I can't override it using googlebots as google will still take the more restrictive tag.
I don't mind editing the kentico code but a search of "noindex,nofollow" or "robots" in the solution doesn't find anything.
Does anyone know how I can remove or edit this tag?
I'm using K12SP Portal Engine for the record.

If you're using portal engine, on the search page go to Properties > Navigation > Search & SEO and uncheck the Exclude from search checkbox. This will manage your "noindex" value
Tho manage your "nofollow" value go to Settings > URLs & SEO and uncheck this box "Use NOFOLLOW for user links", this should get you the results you're looking for.

Related

How to customize blog portlet in liferay

I am new to liferay and using liferay-ce-portal-7.0-ga3 i have placed a blog and able to write contents in it. i want to change the blog portlet design by adding thumbnail preview to it . My current view is it has either title,abstract and full content view. How could i customize to get blog view
You can customize Liferay's appearance through Application Display Templates (ADT). Unfortunately there's no sample for the OOTB appearances, but when you go to your site's (or the global site's) Configuration area, you can find/edit/create ADTs there. Depending on the markup and CSS, as well as your typical image size etc., the actual ADT you write would be different, thus impossible to include anything here.
The editor however, has some autocomplete and some predefined entries/fields, that should give you a starting point. E.g. when you just open a blank editor and hit the "Blog Entries" field, you'll end up with
<#-- Application display templates can be used to modify
the look of a specific application. Please use the
left panel to quickly add commonly used variables.
Autocomplete is also available and can be invoked
by typing "${". -->
<#if entries?has_content>
<#list entries as curBlogEntry>
${curBlogEntry.title}
</#list>
</#if>
You'll find what you can do with BlogsEntry in it's javadoc, make sure to follow the BlogsEntryModel superclass link as well to see more.
I'll have to leave the exercise to generate proper markup and styling to you though.

How do I set up page tags for Google search results?

As title suggests, how do I enter page titles into the CMS of V9 kentico so that they are reflected in the Google search for my busines?
By default Kentico uses the site name and the page's name as the page title. If you want to set these separate then you can go to the page you want to modify, General>Meta data and edit it there.

Kentico breakcrumb webpart not using the page alias

I have two pages sitting in a folder named "Auxiliary Nav". The pages have aliases set so 'Auxuliary-Nav' doesn't show in their URLs. I thought all was good until I looked at my breadcrumbs. Ideally, the breadcrumb shouldn't show "Auxiliary Nav".
I'm using the Breadcrumbs web part on a master page, but can't see a setting for this. I had also thought about just using the CSS list menu, but not sure if this would help me here.
Turn off "Show in navigation" for "Auxiliary Nav".

Liferay Sitemap: Filter List of Layouts by SEO Settings

As you probably know, there is a Sitemap-Portlet in Liferay that you can bring into form using a Freemarker-Template in Portlet-Configuration.
Now in a normal Liferay Page under "SEO Settings" you can decide whether to include that page into the sitemap or not.
If you don't include it, it gets removed from the actual Sitemap (/sitemap.xml) but still is shown in the portlet.
Is there a way to access these "SEO Settings" (from freemarker code) so I could somehow filter by setting?
Thanks in advance!
Nevermind, I found out when looking into liferay database table 'layout'.
There is a column for TypeSettings which sometimes contained 'sitemap-include=1', so I simply checked it using layout.getTypeSettingsProperty("sitemap-include").

Removing the url field from orchard comments

Looking to remove the Url field on a blog in orchard.comments modal. The problem is that the URL get linked to the username and i do not want my site linking to explicit sites or other content. I have tried display:none on the css but it would not take a genius just to display:block it.
Thanks in advance.
Edit the content type and disable Allow custom patterns in the autoroute section.
Of you just dont want to display the field, download Designer Tools and use Shape Tracing to generate the view and then customize it as you need.

Resources