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

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.

Related

How to change Default Page Title Field in Kentico

In the Page Type area, the "Page name source field" is set to ProjectCode, which I want. However, my page titles seem to be set up as "'Page name source field' | Website Name", which I do not want.
Is there a way to change the page title structure for that page type so it pulls from a different field on the page type?
In this instance, this is managed in the Settings of the site rather than at a page level.
Navigate to Settings > Content in the Settings application. Then, under the Metadata section, you will find a setting called Page title format.
You can either remove {%prefix%} -, or set a more desirable value in the Page title prefix setting.
In addition, you can change the value for the Page title in the Metadata tab for the document and make it use a macro, such as {% CurrentDocument["ProjectID"] #%}. Also, looking at your notes, you could change your page type so that the Project ID is treated as the document title maybe?
Settings > Content has the Page Title format.
{%pagetitle_orelse_name%} will pull the name of the document or the set page title on the metadata tab of the page.

Table set homepage orchard

please tell me where to find table that stores certain page as homepage in orchard?
Because just a moment ago I cannot access my home page
The resource cannot be found.
Thanks
You probably just don't have a page set as your home page. Go to any Page content type and set it as the homepage.
In case you do need to change the home page directly through the database, this is done in Orchard_Autoroute_AutoroutePartRecord's DisplayAlias column. The first entry with an empty value for DisplayAlias is treated as the homepage.

How to change orchard blog home page list view/summary view

I have Orchard 1.7 setup with blog recipe.
The home screen display a list of blog posts.
I want to override the way the content is displayed in summary view. I could do this for each parts. But my styling is such that I need to wrap title, body, and meta tags with a special div when ever the display type is summary.
The problem is:
After shape tracing I understood that the template used in the home page (summary) is same as the detailed one.
Content.cshtml
For detail view I want to use the default core-> Views/Content.cshtml but for summary I need to supply my own. How can I do this?
OR
How to write a driver/widget to the home page. I know how I can do this for parts/fields/modules but I don't have an idea on how to create a driver for Blog home page.
Whenever I add a widget to the homepage the default blog post list still get displayed.
Just create a file called Content.Summary.cshtml in your theme. This will target all summary views, so if you have more than just blog posts on your site you will probably want to have Content-BlogPost.Summary.cshtml.
I wrote a small blog post on Item templates in Orchard if you are interested... http://arkleseizure.net/what-the-hell-is-an-item-template

Modify Orchard CMS search results

Is it possible to modify the search results of Orchard, not to display parts (image gallery and contact form).
I created a site, added an image gallery. When doing searches the image gallery is displayed within the search results. The same with contact forms, they are also displayed in the search results.
Added Place Parts_ContactForm="-"/ to my placement.info (in Orchard.Search folder). See http://docs.orchardproject.net/Documentation/Understanding-placement-info#OverridingPlacement
In /Admin/ContentTypes, Edit the content type (ex : contact form), then uncheck the checkbox 'Index this content type for the search'

How can I create a separate search page for my blog?

I made a wordpress blog: link text
I have a separate htm page with the form and input field to search. It does not work. But when I have the search field and submit bitton in the sidebar on every page, it works fine. I left bot the sidebar search and the "search blog" page available.
Is it possible to have a separate search page and have the results appear normally?
Your search box is redirecting to the wrong URL
You send the visitor to /blog/?name=(search term)
Should be /blog/?s=(search term)
You can see this if you look at the URL for a search that works (i.e. from your sidebar).

Resources