View Single Post
  #1378  
Old 05-08-2019, 08:29 AM
 
1994Z28 1994Z28 is offline
 

Member
  
Join Date: Feb 2018
Posts: 14
 

Default Re: X-Cart - reBOOT - Responsive Template

Phil, we tried this change you suggested for canonical links, but after replacing the code in skin/reboot/custom/reboot_service_head.tpl the site won't load. Any ideas? Here's the latest relevant code (original code is commented out):



{if $homepage}
<link rel="canonical" href="{$current_location}" />
<link rel="prerender prefetch" href="{$current_location}">
{elseif $main eq "reboot_blog"}
<link rel="canonical" href="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_ URI}" />
<link rel="prerender prefetch" href="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_ URI}" />
{else}
{* <link rel="canonical" href="{$canonical_url}" />
<link rel="prerender prefetch" href="{$canonical_url}" /> *}
<link rel="canonical" href="https://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_ URI}" />
<link rel="prerender prefetch" href="https://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_ URI}" />
{/if}
__________________
X-Cart Gold Plus 4.7.9
w X-Affiliate, X-Configurator, X-AOM, X-SpecialOffers, BCSE Global Product Options, BCSE Product Packaging, Reboot responsive template
Reply With Quote