GetSimple Support Forum

Full Version: Some Canonical Questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Back again peeps! Smile

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
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.
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
You should ask in the plugins thread. Or post the functions code so we can look at it for you.
Thanks Shawn! I'll ask in the plugins thread!!
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.
Ah i see it in the plugin...the if ($full) I can take out the gen there!!! thank you!