X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to remove home.php from canonical, please? (https://forum.x-cart.com/showthread.php?t=77362)

Eyeglasses Expert 11-20-2019 10:55 PM

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?

PhilJ 11-21-2019 06:33 AM

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}" />


All times are GMT -8. The time now is 06:58 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.