Re: problems with canonical
"Steve Bronson" <[email protected]> Thu, 24 May 2018 08:07:30 -0700 (PDT)
| Newsgroups | gmane.comp.web.interchange.users |
|---|---|
| Message-ID | <[email protected]> |
> automatic-flushers.html page is a static page. Has the same code as dynamic pages: > [tmp canonical]<link rel="canonical" href="__SAMPLEURL__/@@MV_PAGE@@[if scratch mv_add_dot_html].html[/if]">[/tmp] > > That code seems to work on static pages, but not dynamic. > > Must be a way to show url in the address bar of browser as the canonical. Anyone have any suggestions??? > > Steve B. > > Maybe this would work? [tmp canonical]<link rel="canonical" href="__SAMPLEURL__/[env REQUEST_URI]">[/tmp] -Andrew -- Andrew, that did work!! had to remove the /, but now page showing correct link. Thank you! Steve B.