Create CMS Website

Title and meta

The Beginner's Tutorial
How To Create Own Website with CMS Made Simple

Making some SEO with CMS Made Simple?

Let's start from the very beginning. Go to admin admin panel and open Layout → Templates. It is the main template where you start to optimize your website.

Title tag

The most important SEO aspect is the title tag. It must be different on every page. If you have only content pages, you can use the title of the page for title tag this way:


Try to give a reasonable title to every page using desired keywords to reach the best position. You can also combine different tags in title tag, e.g.:

<title>{sitename} - {title}</title>

{sitename} contains the name of your site defined in CMSMS Global Settings. Not only tags, but every free customized text can be used in the title tag. And again, giving the same title to every page is very bad idea.

If you use such modules as News or Album on your website, the title tag will be the same for each item, since there is only one real page to display the generated content of the module.SEO requires unique title for every page. You can customize the title of the generated pages with a little trick. For detailed view of news, open Content → News in admin panel and choose Detail Template. At the very top of the template add:

{assign var="pagetitle" value=$entry->title|escape}

This line will generate the smarty variable {$pagetitle} containing the title of the news article. To add the variable to the main template, open it and replace your title tag with

{if isset($pagetitle) && !empty($pagetitle)}
<title>{sitename} - {$pagetitle}</title>
<title>{sitename} - {title}</title>

This piece of code checks if the variable {$pagetitle} is defined and is not empty. If yes the news title is used for the title tag, if not normal page title is taken. You can add the first line to the detailed view of each module. Figure out what value has to be assigned instead of $entry->title. See the different titles on this website for generated content:

Meta tags

Meta tags are important part of SEO, especially meta tag for description:

<meta name="keywords" content="seo, optimization, search ranking" />
<meta name="description" content="Find the best tips on this website" />

Keywords should only contain the words you have also used in the content of the specific page. Description can contain any words and is displayed in search engines below the title in the search results. Description has to be attractive for the visitor animating him to visit your website and not one above or below yours in the search list.

There are two places to add meta tags to the website. In Global settings you can add meta tags that will appear on every page generated by CMS Made Simple. Be careful and do not add meta for keywords and description here. The description tag  must be unique for every page if you would like to achieve the best search engine ranking. In global settings however you can add the global meta used on every page such as:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<meta name="robots" content="index,follow" />

To add specific keywords and description for every page open the page for edit in the admin panel  Content → Pages and choose the tab "Options". Add the keywords and description meta tags to the Page Specific Metadata field. Do not just copy the same meta in every page! It does not make any sense for SEO.


If you are a lazy person you can use autometa tag for generating keywords in the page. This tag uses the search index automatically generated for the page by Search module in CMS Made Simple. To install the plugin go to the project list of CMS Made Simple and search for Autometa. Select the tab "Files" in the tab list below the project name on the project page. You will find a list of released files. Click on the newest release at the top of the list to download the project file. The file has to be uploaded to the plugins directory to your CMSMS installation. Once uploaded you can find the plugin in the list of tags in the admin panel. Select Extensions → Tags and look for autometa.

To use the plugin just place {autometa} in your main template before or after {metadata} and see what tags are generated in the source code of the page on the frontend.

This plugin does not replace custom keywords and description meta tags given in Page Specific Metadata field. It generates the tags only if no meta tag is found in the field. So you can still define your custom meta tags.

Autometa supports normal content pages and news detail view as well. See help for the tag in Extensions → Tags → autometa.

There are only few aspects of SEO for your website described in this article. You should also consider using SEO friendly URLs. digg stumbleupon buzzup BlinkList mixx myspace linkedin facebook google yahoo

CMS Made Simple Beginner's Guide