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 > 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: 287
 

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's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,625
 

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}" />
Reply With Quote

The following user thanks PhilJ for this useful post:
Eyeglasses Expert (11-21-2019)
Reply
   X-Cart forums > X-Cart 4 > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:26 AM.

   

 
X-Cart forums © 2001-2018