The sitemap for your website is generated automatically and will be automatically updated after a specified time (variable $revisit_after in the "/settings/sitemaps.php" file).
All pages in the directory "/content/pages" and all links specified by modules. In the file "/settings/sitemaps.php" can be set which modules to include - more Infos.
Your module must be in the directory "/modules". In the module directory the file sitemap.php and in the file, the function "modulessitemap_ __MODULE_DIRECTORY_NAME__" must exist. The function can provide 2 possible arrays containing the URLs of the module:
Possibility number 1
An array with only the module URLs:
$result = array(
0 => '__PAGENAME__&var1=value1',
1 => '__PAGENAME__&var2=value1',
);
return $result;
Possibility number 2
An array containing the module URLs, timestamp of last modification, and optional URLs for hreflang tags:
$result = array(
0 => array(
'location' => '__PAGENAME__&var1=value1',
'modified' => 1489549400,
'hreflangs' => array(
__LANGUAGE_1__ => '__PAGENAME__&var1=value1',
__LANGUAGE_2__ => '__SEITENNAME__&var1=value1'
)
),
1 => array(
'location' => '__PAGENAME__&var2=value1',
'modified' => 1489552400,
'hreflangs' => array(
__LANGUAGE_1__ => '__PAGENAME__&var2=value1',
__LANGUAGE_2__ => '__SEITENNAME__&var2=value1'
)
)
);
return $result;
There is no robots.txt in the root. The robots.txt is loaded via htaccess redirect from the /includes/robots directory. If you need additional entries in robots.txt, you can insert them into the file /includes/robots/index.php.
Title and description can be easily entered via the button document properties of the editor.
If these fields have been enabled in a ModMaker module administration, description must not exist in the HTML page. The tags appear twice otherwise.
In HTML pages the robots meta tag can be set only on the source code. It is best to set it directly in the layout file. ModMaker modules automatically set the robots meta tag, then it must not exist in the HTML page.
In all pages and ModMaker module pages the canonical tag will be added automatically to avoid double content.
Open Graph tags are set in the editor and in ModMaker modules:
There are no further tags.