Nico Knoll Posted July 13, 2014 Share Posted July 13, 2014 Hey, I wrote a little tutorial on how to add dynamic meta tags to your page: http://supercode.co/posts/processwire-best-practice-meta-tags/ Any questions left? -- nico 4 Link to comment Share on other sites More sharing options...
blad Posted July 13, 2014 Share Posted July 13, 2014 Very good tutorial and a very cool logo I'm using something like your example but with textbox-list module for keywords. 1 Link to comment Share on other sites More sharing options...
Nico Knoll Posted July 13, 2014 Author Share Posted July 13, 2014 Of course it is extendable. And I think I should do it with textbox-list module, too. But I think it's better to keep an example as clean as possible (no extra modules). 1 Link to comment Share on other sites More sharing options...
SiNNuT Posted July 13, 2014 Share Posted July 13, 2014 I'm no SEO expert but i think none of the major search engines pays attention to the meta keywords tag anymore. Can't look it up right now but there should be plenty of resources, including videos from Googles Mat Cutts.In fact, if you abuse it (intended or unknowingly) it may hurt your rankings.In most cases it's probably best to focus on adequate meta titles and descriptions and don't bother with keywords. -- EDIT For future reference; some info here: http://www.metatags.org/google_ignores_meta_tags_in_ranking 4 Link to comment Share on other sites More sharing options...
Macrura Posted July 13, 2014 Share Posted July 13, 2014 BTW, you could do this: <?php echo $page->meta_title ?: $pages->get('/')->meta_title; ?> instead of this <?php echo (($page->meta_title) ? $page->meta_title : $pages->get('/')->meta_title); ?> 2 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted July 14, 2014 Share Posted July 14, 2014 There is a way to add those meta fields to all templates at once, bit I couldn't add the whole group. I guess that would be a usefull thing to be able to do as metatags are usually used for all accessible pages on a site. Do you have any ideas how it can be possible? Any questions left? If you have time and desire to extend that very useful tutorial I would be very interested in learning ways to implement actually "Dynamic Meta Tags" (those shown here are custom, but not really dynamic). Maybe with Hanna Code or something like that. Of cource we can easily add that "dynamics" in the template, but that is not a good thing if you got someone doing SEO who is not so much into development. By "dynamic" I mean generated by template from other fields and the logic is configurable via GUI. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now