If i dont use the news module, and all my content are pages
Can i remove this line and still have canonical urls, or at least split the if statement.
Im not sure but i suppose half of it is for news and the other half is meant to form the canonical url for pages, so my guess is that i could remove the if statement and keep only one half, but dont know which, the $canonical, or $contentobj is related to either news of pages :S
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
Or has nothing to do, and is meant to check if url field in page content was filled.
Respectfully
Can i remove or modify this line from template if i dont use
Re: Can i remove or modify this line from template if i dont
You shouldn't change these lines. They are really good stuff for search engines
.
