The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Some Canonical Questions - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Some Canonical Questions (/showthread.php?tid=5264) |
Some Canonical Questions - lnickel - 2013-10-09 Back again peeps! I have a few questions I'm hoping some SEO/Coding guru's could help out. First, I am using mvlcek's il8n plugins (base, navigation, search). So I am aware if I want to get rid of the name=generator I can simply call FALSE in the il8n header. Works great eliminating that but what about canonical? It strips that out as well. Don't we need that? So I have a two questions. How do we keep the canonical and cut the name generator? Is it proper to have the ?lang=en on the end of the url? if not how do I cut that? What are you folks doing? thanks! Lance P.S i did some reading on it hence my question about using the lang sting on the end of the url http://overit.com/blog/canonical-urls RE: Some Canonical Questions - shawn_a - 2013-10-10 generator meta has nothing to do with canonical urls, so i am not entirely sure what you are asking. Besides, meta generator was removed as of 3.2.2 This might be a plugin question. RE: Some Canonical Questions - lnickel - 2013-10-10 if i set the header get_il8n_header(FALSE) It takes out both the <meta name="generator" content="GetSimple" /> <link rel="canonical" href="http://www.mysite.com/?lang=en" /> It was really a two part question probably more for mvleck How do I keep the canonical and within that canonical is it proper to have the ?lang-en on the end Sorry for the confusion and thanks for responding RE: Some Canonical Questions - shawn_a - 2013-10-10 You should ask in the plugins thread. Or post the functions code so we can look at it for you. RE: Some Canonical Questions - lnickel - 2013-10-10 Thanks Shawn! I'll ask in the plugins thread!! RE: Some Canonical Questions - shawn_a - 2013-10-10 I think its just a conditional wrapping it, the core get_header function does the same thing. If not $full then that whole block containing those tags are not output. The code would have to be modified in the plugin to add a new argument, or just remove the generator like I did in core. RE: Some Canonical Questions - lnickel - 2013-10-10 Ah i see it in the plugin...the if ($full) I can take out the gen there!!! thank you! |