Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to remove home.php from canonical, please?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-20-2019, 10:55 PM
 
Eyeglasses Expert Eyeglasses Expert is offline
 

eXpert
  
Join Date: May 2010
Posts: 307
 

Default How to remove home.php from canonical, please?

<link rel="canonical" href="https://www.glassesshop.net/home.php" />
to
<link rel="canonical" href="https://www.glassesshop.net" />


How to remove home.php from canonical, please?
Reply With Quote
  #2  
Old 11-21-2019, 06:33 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: How to remove home.php from canonical, please?

skin/common_files/customer/service_head.tpl
Code:
<link rel="canonical" href="{if $main eq "catalog" && $cat eq "0"}{$current_location}{else}{$canonical_url}{/if}" />
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
Eyeglasses Expert (11-21-2019), peggyr (12-27-2019)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:27 PM.

   

 
X-Cart forums © 2001-2020