[ic] problems with canonical

Steve Bronson steve at airdelights.com
Thu May 24 13:38:14 UTC 2018


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-users-
> bounces at icdevgroup.org] On Behalf Of Steve Bronson
> Sent: Thursday, May 24, 2018 16:19
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] problems with canonical
> 
> > -----Original Message-----
> > From: interchange-users-bounces at icdevgroup.org
> > [mailto:interchange-users- bounces at icdevgroup.org] On Behalf Of Steve
> > Bronson
> > Sent: Thursday, May 24, 2018 00:17
> > To: interchange-users at icdevgroup.org
> > Subject: [ic] problems with canonical
> >
> > I'm having issues getting canonical to work on my website. Seems to be
> > redirecting to fly pages rather than to the product page.
> >
> > example: my page url:
> > https://www.airdelights.com/zerk-cp--Zurn-EZ-Flush-
> > Retro-Fit-Automatic-Flush-Unit.html
> >
> > shows this when you look at view source.
> >
> > <link rel="canonical"
> > href="https://www.airdelights.com/fly/fly_autoflushers2.html">
> >
> > Any suggestions on how I can fix this?
> 
> Looking at the source, but don't see the canonical.
> You removed it/solved it?
> Which version of Interchange are you using?
> 
> CU,
> 
> Gert
> 
> ************************
> I just put the [scratch canonical] back on the top template.
> You can see this problem now.
> Using interchange 5.10.0
> 
> Steve B.

I'm having a look at the git repo of interchange, but I seem to not be able to find any place where the scratch canonical value is being set ... Is this something custom to your Interchange install? Could be that I'm looking in the wrong place, but a scratch variable is usually not existing by itself. I see one location where canonical is being set (in strap/results.html), but that does not seem to match your code.

CU,

Gert
**************************
I believe Josh from Endpoint added this to our site. He is no longer at endpoint.
Top template has [scratch canonical]
All the pages and flypages have this code:

[tmp canonical]<link rel="canonical" href="__SAMPLEURL__/@@MV_PAGE@@[if scratch mv_add_dot_html].html[/if]">[/tmp]

Have no idea how this works, where it's pulling data from, or why it's showing flypage instead of product page.  Maybe from catalog.cfg?  

Steve B.







More information about the interchange-users mailing list