{"id":5307,"date":"2013-07-10T12:42:53","date_gmt":"2013-07-10T09:42:53","guid":{"rendered":"http:\/\/blog.belvg.com\/?p=5307"},"modified":"2025-07-03T10:50:12","modified_gmt":"2025-07-03T08:50:12","slug":"static-pages-in-prestashop","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html","title":{"rendered":"Static Pages In Prestashop"},"content":{"rendered":"\n<p style=\"text-align: center;\"><strong>404 Page<\/strong><\/p>\n<p style=\"text-align: left;\" align=\"center\"><strong>P&#1072;geN&#1086;tF&#1086;undC&#1086;ntr&#1086;ller<\/strong> (controllers\/front\/ PageNotFoundController.php) is responsible for this page. The method<strong> P&#1072;geN&#1086;tF&#1086;undC&#1086;ntr&#1086;ller: :initC&#1086;ntent() <\/strong>installs the necessary headers and validates the requested content type. If these are images, js or CSS files then the script simply ends. Otherwise, it generates the <strong>404.tpl <\/strong>template of the active theme.<!--more--><\/p>\n<p style=\"text-align: left;\" align=\"center\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8801 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/11-850x460.jpg\" alt=\"11 850x460\" width=\"850\" height=\"460\" title=\"Static Pages In Prestashop\"><\/p>\n<p><em>Controller Code:<\/em><\/p>\n<pre class=\"lang:php decode:true\">class PageNotFoundControllerCore extends FrontController\r\n{\r\n\tpublic $php_self = '404';\r\n\tpublic $page_name = 'pagenotfound';\r\n\r\n\t\/**\r\n\t * Assign template vars related to page content\r\n\t * @see FrontController::initContent()\r\n\t *\/\r\n\tpublic function initContent()\r\n\t{\r\n\t\theader('HTTP\/1.1 404 Not Found');\r\n\t\theader('Status: 404 Not Found');\r\n\r\n\t\tif (in_array(Tools::strtolower(substr($_SERVER['REQUEST_URI'], -3)), array('png', 'jpg', 'gif')))\r\n\t\t{\r\n\t\t\theader('Content-Type: image\/gif');\r\n\t\t\treadfile(_PS_IMG_DIR_.'404.gif');\r\n\t\t\texit;\r\n\t\t}\r\n\t\telseif (in_array(Tools::strtolower(substr($_SERVER['REQUEST_URI'], -3)), array('.js', 'css')))\r\n\t\t\texit;\r\n\r\n\t\tparent::initContent();\r\n\r\n\t\t$this-&gt;setTemplate(_PS_THEME_DIR_.'404.tpl');\r\n\t}\r\n\r\n\tpublic function canonicalRedirection($canonical_url = '')\r\n\t{\r\n\t\t\/\/ 404 - no need to redirect to the canonical url\r\n\t}\r\n}<\/pre>\n<p><em>Standard template code:<\/em><\/p>\n<pre class=\"lang:php decode:true\">&lt;div class=\"pagenotfound\"&gt;\r\n\t&lt;h1&gt;{l s='This page is not available'}&lt;\/h1&gt;\r\n\r\n\t&lt;p&gt;\r\n\t\t{l s='We\\'re sorry, but the Web address you\\'ve entered is no longer available.'}\r\n\t&lt;\/p&gt;\r\n\r\n\t&lt;h3&gt;{l s='To find a product, please type its name in the field below.'}&lt;\/h3&gt;\r\n\t&lt;form action=\"{$link-&gt;getPageLink('search')}\" method=\"post\" class=\"std\"&gt;\r\n\t\t&lt;fieldset&gt;\r\n\t\t\t&lt;p&gt;\r\n\t\t\t\t&lt;label for=\"search\"&gt;{l s='Search our product catalog:'}&lt;\/label&gt;\r\n\t\t\t\t&lt;input id=\"search_query\" name=\"search_query\" type=\"text\" \/&gt;\r\n\t\t\t\t&lt;input type=\"submit\" name=\"Submit\" value=\"OK\" class=\"button_small\" \/&gt;\r\n\t\t\t&lt;\/p&gt;\r\n\t\t&lt;\/fieldset&gt;\r\n\t&lt;\/form&gt;\r\n\r\n\t&lt;p&gt;&lt;a href=\"{$base_dir}\" title=\"{l s='Home'}\"&gt;&lt;img src=\"{$img_dir}icon\/home.gif\" alt=\"{l s='Home'}\" class=\"icon\" \/&gt; {l s='Home'}&lt;\/a&gt;&lt;\/p&gt;\r\n&lt;\/div&gt;<\/pre>\n<p align=\"center\"><strong>CMS Pages<\/strong><\/p>\n<p align=\"center\"><strong>Backend<\/strong><\/p>\n<p>CMS allows you to create static pages through administrative part of a shop and edit content using the WYSIWYG editor. Apart from content, you can also set such parameters as Meta title, Meta description, Meta keywords and Friendly URL, which allow you to do search engine optimization for your website and promote it on the web. Each page can be turned on\/off to be displayed on a website.<\/p>\n<p>An example of creating a CMS-page:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8802 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/21-850x499.jpg\" alt=\"21 850x499\" width=\"850\" height=\"499\" title=\"Static Pages In Prestashop\"><\/p>\n<p>The controller<strong> AdminCmsC&#1086;ntent <\/strong>is designed to edit CMS pages in the administrative panel. This controller interacts with the class-model<strong> CMS<\/strong>. This class has the following basic methods to work with pages:<\/p>\n<ul>\n<li><strong>CMS:: <\/strong><strong>getCMSPages($id_lang = null, $id_cms_category = null, $active = true)<\/strong> &ndash; the method for obtaining CMS pages;<\/li>\n<li><strong>CMS:: <\/strong><strong>getLastPosition($id_category)<\/strong> &ndash; get last position within a category;<\/li>\n<li><strong>CMS:: <\/strong><strong>getLinks($id_lang, $selection = null, $active = true, Link $link = null)<\/strong> &ndash; get a list of links to CMS pages;<\/li>\n<li><strong>CMS:: <\/strong><strong>listCms($id_lang = null, $id_block = false, $active = true)<\/strong> &ndash; get a list of pages by block ID.<\/li>\n<\/ul>\n<p>Apart from creating pages, you can also create categories for them, which gives you an opportunity to group them by context.<\/p>\n<p>Creating a CMS category:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8803 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/3.jpg\" alt=\"3\" width=\"589\" height=\"453\" title=\"Static Pages In Prestashop\"><\/p>\n<p>For each category it is possible to set SEO-parameters and parent category (see the controller <strong>AdminCmsCategoriesController<\/strong> which interacts with the class-model <strong>CMSCategory<\/strong>).<\/p>\n<p align=\"center\"><strong>Modules<\/strong><\/p>\n<p>Default Prestashop installation includes the module <strong>CMS block<\/strong> which allows you to output a category block with a list of CMS-pages on the left\/right-hand column of a website, as well as to add links to CMS-pages and other information to the footer.<\/p>\n<p>Creating a new block:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8804 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/4.jpg\" alt=\"4\" width=\"789\" height=\"507\" title=\"Static Pages In Prestashop\"><\/p>\n<p>Adding CMS-pages to the footer:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8805 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/5.jpg\" alt=\"5\" width=\"789\" height=\"495\" title=\"Static Pages In Prestashop\"><\/p>\n<p>The module<strong> bl&#1086;&#1089;k&#1089;ms<\/strong> uses the hooks<strong> leftC&#1086;lumn<\/strong> and<strong> rightC&#1086;lumn<\/strong> to display blocks, while the hook<strong> footer<\/strong> is used to add information to the footer.<\/p>\n<p>Here is an example of a block in the left\/right column:<\/p>\n<p><a href=\"http:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/6.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8806 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/6.jpg\" alt=\"6\" width=\"283\" height=\"261\" title=\"Static Pages In Prestashop\"> <\/a><\/p>\n<p>An example of CMS-pages in the footer:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8808 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/71.jpg\" alt=\"71\" width=\"265\" height=\"473\" title=\"Static Pages In Prestashop\"><\/p>\n<p style=\"text-align: center;\"><strong>Frontend<\/strong><\/p>\n<p>The controller<strong> CmsC&#1086;ntr&#1086;ller<\/strong> (controllers\/front\/ContactController.php) is designed for generating pages in the frontend.<\/p>\n<p>An example of a CMS-category page:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-8809 size-belvg-post-content\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/8-850x441.jpg\" alt=\"8 850x441\" width=\"850\" height=\"441\" title=\"Static Pages In Prestashop\"><\/p>\n<p>This page is initialized by the method<strong> CmsC&#1086;ntr&#1086;ller: :init(): <\/strong><\/p>\n<pre class=\"lang:php decode:true\">public function init()\r\n\t{\r\n\t\tparent::init();\r\n\r\n\t\tif ($id_cms = (int)Tools::getValue('id_cms'))\r\n\t\t\t$this-&gt;cms = new CMS($id_cms, $this-&gt;context-&gt;language-&gt;id);\r\n\t\telse if ($id_cms_category = (int)Tools::getValue('id_cms_category'))\r\n\t\t\t$this-&gt;cms_category = new CMSCategory($id_cms_category, $this-&gt;context-&gt;language-&gt;id);\r\n\r\n\t\t$this-&gt;canonicalRedirection();\r\n\r\n\t\t\/\/ assignCase (1 = CMS page, 2 = CMS category)\r\n\t\tif (Validate::isLoadedObject($this-&gt;cms))\r\n\t\t{\r\n\t\t\t$adtoken = Tools::getAdminToken('AdminCmsContent'.(int)Tab::getIdFromClassName('AdminCmsContent').(int)Tools::getValue('id_employee'));\r\n\t\t\tif (!$this-&gt;cms-&gt;isAssociatedToShop() || !$this-&gt;cms-&gt;active &amp;&amp; Tools::getValue('adtoken') != $adtoken)\r\n\t\t\t{\r\n\t\t\t\theader('HTTP\/1.1 404 Not Found');\r\n\t\t\t\theader('Status: 404 Not Found');\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\t$this-&gt;assignCase = 1;\r\n\t\t}\r\n\t\telse if (Validate::isLoadedObject($this-&gt;cms_category))\r\n\t\t\t$this-&gt;assignCase = 2;\r\n\t\telse\r\n\t\t{\r\n\t\t\theader('HTTP\/1.1 404 Not Found');\r\n\t\t\theader('Status: 404 Not Found');\r\n\t\t}\r\n\t}<\/pre>\n<p>The page content is initialized and transmitted to the template via the method<strong> CmsC&#1086;ntr&#1086;ller::&nbsp; <\/strong>&nbsp;<strong>initContent ()<\/strong>:<\/p>\n<pre class=\"lang:php decode:true\">public function initContent()\r\n\t{\r\n\t\tparent::initContent();\r\n\r\n\t\t$parent_cat = new CMSCategory(1, $this-&gt;context-&gt;language-&gt;id);\r\n\t\t$this-&gt;context-&gt;smarty-&gt;assign('id_current_lang', $this-&gt;context-&gt;language-&gt;id);\r\n\t\t$this-&gt;context-&gt;smarty-&gt;assign('home_title', $parent_cat-&gt;name);\r\n\t\t$this-&gt;context-&gt;smarty-&gt;assign('cgv_id', Configuration::get('PS_CONDITIONS_CMS_ID'));\r\n\t\tif (isset($this-&gt;cms-&gt;id_cms_category) &amp;&amp; $this-&gt;cms-&gt;id_cms_category)\r\n\t\t\t$path = Tools::getFullPath($this-&gt;cms-&gt;id_cms_category, $this-&gt;cms-&gt;meta_title, 'CMS');\r\n\t\telse if (isset($this-&gt;cms_category-&gt;meta_title))\r\n\t\t\t$path = Tools::getFullPath(1, $this-&gt;cms_category-&gt;meta_title, 'CMS');\r\n\t\tif ($this-&gt;assignCase == 1)\r\n\t\t{\r\n\t\t\t$this-&gt;context-&gt;smarty-&gt;assign(array(\r\n\t\t\t\t'cms' =&gt; $this-&gt;cms,\r\n\t\t\t\t'content_only' =&gt; (int)(Tools::getValue('content_only')),\r\n\t\t\t\t'path' =&gt; $path\r\n\t\t\t));\r\n\t\t}\r\n\t\telse if ($this-&gt;assignCase == 2)\r\n\t\t{\r\n\t\t\t$this-&gt;context-&gt;smarty-&gt;assign(array(\r\n\t\t\t\t'category' =&gt; $this-&gt;cms_category, \/\/for backward compatibility\r\n\t\t\t\t'cms_category' =&gt; $this-&gt;cms_category,\r\n\t\t\t\t'sub_category' =&gt; $this-&gt;cms_category-&gt;getSubCategories($this-&gt;context-&gt;language-&gt;id),\r\n\t\t\t\t'cms_pages' =&gt; CMS::getCMSPages($this-&gt;context-&gt;language-&gt;id, (int)($this-&gt;cms_category-&gt;id) ),\r\n\t\t\t\t'path' =&gt; ($this-&gt;cms_category-&gt;id !== 1) ? Tools::getPath($this-&gt;cms_category-&gt;id, $this-&gt;cms_category-&gt;name, false, 'CMS') : '',\r\n\t\t\t));\r\n\t\t}\r\n\r\n\t\t$this-&gt;setTemplate(_PS_THEME_DIR_.'cms.tpl');\r\n\t}<\/pre>\n<p>The template<strong> cms.tpl <\/strong>of the current theme (the path to the current theme can be determined via the constant<strong> _PS_THEME_DIR_<\/strong> ) is used for this controller.<\/p>\n\n","protected":false},"excerpt":{"rendered":"404 Page P&#1072;geN&#1086;tF&#1086;undC&#1086;ntr&#1086;ller (controllers\/front\/ PageNotFoundController.php) is responsible for this page. The method P&#1072;geN&#1086;tF&#1086;undC&#1086;ntr&#1086;ller: :initC&#1086;ntent() installs &#8230;","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[15,300],"tags":[445],"class_list":["post-5307","post","type-post","status-publish","format-standard","hentry","category-prestashop","category-prestashop-guide","tag-prestashop"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"P\u0430geN\u043etF\u043eundC\u043entr\u043eller (controllers\/front\/ PageNotFoundController.php) is responsible for this page. The method P\u0430geN\u043etF\u043eundC\u043entr\u043eller: :initC\u043entent() installs the necessary headers and validates the requested content type.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Aliaksandr Simonchik\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#article\",\"name\":\"Static Pages In Prestashop | BelVG Blog\",\"headline\":\"Static Pages In Prestashop\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/11.jpg\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html\\\/#articleImage\",\"width\":1051,\"height\":569,\"caption\":\"How To Add Rating To Product List In Prestashop\"},\"datePublished\":\"2013-07-10T12:42:53+02:00\",\"dateModified\":\"2025-07-03T10:50:12+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#webpage\"},\"articleSection\":\"Prestashop, Prestashop Guide, Prestashop\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"name\":\"Prestashop\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"position\":2,\"name\":\"Prestashop\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide#listItem\",\"name\":\"Prestashop Guide\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide#listItem\",\"position\":3,\"name\":\"Prestashop Guide\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#listItem\",\"name\":\"Static Pages In Prestashop\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop#listItem\",\"name\":\"Prestashop\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#listItem\",\"position\":4,\"name\":\"Static Pages In Prestashop\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/prestashop\\\/prestashop-guide#listItem\",\"name\":\"Prestashop Guide\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik\",\"name\":\"Aliaksandr Simonchik\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6553917a81b1da7866b8b875368df6cbbec56413c3438694df8539de7fb092c0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Aliaksandr Simonchik\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html\",\"name\":\"Static Pages In Prestashop | BelVG Blog\",\"description\":\"P\\u0430geN\\u043etF\\u043eundC\\u043entr\\u043eller (controllers\\\/front\\\/ PageNotFoundController.php) is responsible for this page. The method P\\u0430geN\\u043etF\\u043eundC\\u043entr\\u043eller: :initC\\u043entent() installs the necessary headers and validates the requested content type.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/static-pages-in-prestashop.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/alex-simonchik#author\"},\"datePublished\":\"2013-07-10T12:42:53+02:00\",\"dateModified\":\"2025-07-03T10:50:12+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Static Pages In Prestashop | BelVG Blog","description":"P\u0430geN\u043etF\u043eundC\u043entr\u043eller (controllers\/front\/ PageNotFoundController.php) is responsible for this page. The method P\u0430geN\u043etF\u043eundC\u043entr\u043eller: :initC\u043entent() installs the necessary headers and validates the requested content type.","canonical_url":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#article","name":"Static Pages In Prestashop | BelVG Blog","headline":"Static Pages In Prestashop","author":{"@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2013\/07\/11.jpg","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html\/#articleImage","width":1051,"height":569,"caption":"How To Add Rating To Product List In Prestashop"},"datePublished":"2013-07-10T12:42:53+02:00","dateModified":"2025-07-03T10:50:12+02:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#webpage"},"articleSection":"Prestashop, Prestashop Guide, Prestashop"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","name":"Prestashop"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","position":2,"name":"Prestashop","item":"https:\/\/belvg.com\/blog\/category\/prestashop","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide#listItem","name":"Prestashop Guide"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide#listItem","position":3,"name":"Prestashop Guide","item":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#listItem","name":"Static Pages In Prestashop"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop#listItem","name":"Prestashop"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#listItem","position":4,"name":"Static Pages In Prestashop","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide#listItem","name":"Prestashop Guide"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author","url":"https:\/\/belvg.com\/blog\/author\/alex-simonchik","name":"Aliaksandr Simonchik","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/6553917a81b1da7866b8b875368df6cbbec56413c3438694df8539de7fb092c0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Aliaksandr Simonchik"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#webpage","url":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html","name":"Static Pages In Prestashop | BelVG Blog","description":"P\u0430geN\u043etF\u043eundC\u043entr\u043eller (controllers\/front\/ PageNotFoundController.php) is responsible for this page. The method P\u0430geN\u043etF\u043eundC\u043entr\u043eller: :initC\u043entent() installs the necessary headers and validates the requested content type.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/alex-simonchik#author"},"datePublished":"2013-07-10T12:42:53+02:00","dateModified":"2025-07-03T10:50:12+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"5307","title":"Static Pages In Prestashop | #site_title","description":"P\u0430geN\u043etF\u043eundC\u043entr\u043eller (controllers\/front\/ PageNotFoundController.php) is responsible for this page. The method P\u0430geN\u043etF\u043eundC\u043entr\u043eller: :initC\u043entent() installs the necessary headers and validates the requested content type.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:38:09","updated":"2026-11-03 18:38:09"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/prestashop\" title=\"Prestashop\">Prestashop<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide\" title=\"Prestashop Guide\">Prestashop Guide<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tStatic Pages In Prestashop\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Prestashop","link":"https:\/\/belvg.com\/blog\/category\/prestashop"},{"label":"Prestashop Guide","link":"https:\/\/belvg.com\/blog\/category\/prestashop\/prestashop-guide"},{"label":"Static Pages In Prestashop","link":"https:\/\/belvg.com\/blog\/static-pages-in-prestashop.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/5307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=5307"}],"version-history":[{"count":0,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/5307\/revisions"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=5307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=5307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=5307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}