ajspiano Posted December 7, 2013 Share Posted December 7, 2013 Next question: I just noticed (when I do a "view source" from my browser) the meta descriptions and meta keywords are missing. When I add to header.tpl as a test the following code: <meta name="keywords" content="test" /> Nothing happens happens in the source. Comparitively, when I enter the following code examples in header.tpl: <title>TEST TITLE</title> <link href="test.css"> these items do show up in the source between the <head></head> So this code which is already in the head.. {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} is apparently failing because somewhere somehow prestashop will not allow custom meta content to be placed in the header...? Pretty annoying. Any ideas? Link to comment Share on other sites More sharing options...
Er.Ritesh Posted December 7, 2013 Share Posted December 7, 2013 Hi, ajspiano It might help if you read over this. http://blog.dh42.com...shop-intro-seo/ Link to comment Share on other sites More sharing options...
ajspiano Posted December 7, 2013 Author Share Posted December 7, 2013 that doesn't really solve the problem that the data does not display in the html source code. Link to comment Share on other sites More sharing options...
Er.Ritesh Posted December 7, 2013 Share Posted December 7, 2013 Hi, ajspiano can you share you website url. Link to comment Share on other sites More sharing options...
vekia Posted December 7, 2013 Share Posted December 7, 2013 Next question: I just noticed (when I do a "view source" from my browser) the meta descriptions and meta keywords are missing. When I add to header.tpl as a test the following code: <meta name="keywords" content="test" /> Nothing happens happens in the source. Comparitively, when I enter the following code examples in header.tpl: <title>TEST TITLE</title> <link href="test.css"> these items do show up in the source between the <head></head> So this code which is already in the head.. {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} is apparently failing because somewhere somehow prestashop will not allow custom meta content to be placed in the header...? Pretty annoying. Any ideas? hello why not to define these metas under preferences > seo & url's tab in your back office? click edit button near the page name (on list) you will be able to fill these fields there. Link to comment Share on other sites More sharing options...
Recommended Posts