Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

Phil
ECT Moderator

United Kingdom
7782 Posts

Posted - 09/05/2025 :  02:31:34  
Hi Vince,
quote:
The vsadmin/inc/metainfo.asp and vsadmin/inc/metainfo.php files will now populate parameters that can be used for Canonical URLs, such as:
canonicalurl / $canonicalurl // The Product Detail page Canonical URL
canonicalurlcats / $canonicalurlcats // The Categories page Canonical URL
canonicalurlprods / $canonicalurlprods // The Products page Canonical URL
Using this parameter you can set a Canonical Tag in the Head section of your page as follows (example for the Product Detail Page)...
<link rel="canonical" href="<%=canonicalurl%>"> ' ASP Version
<link rel="canonical" href="<?php print @$canonicalurl?>"> // PHP Version
You need to use the canonicalurlcats parameter on your categories pages and canonicalurlprods on your products pages.


Are there any guidelines for the WP version please with regard to the above. I'm assuming the ECT Store Widget along with the parameters handle this? What about the product detail pages? At the moment all I'm seeing in the source code is <link rel="canonical" href="https://www.mydomain.com/proddetail/" />



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Vince
Administrator

43103 Posts

Posted - 09/06/2025 :  09:22:50  
Hi Phil
That was actually a complete oversight and the canonical URL wasn't available in the WordPress version. But I've added support for this now so if you get a new version of the ECT Widgets plugin then go to...
Appearance -> Customize -> ECT Theme Options you can choose to add the canonical URL there.
If you are using Yoast SEO then the ECT Widgets will only produce a canonical URL for the products, categories and detail pages and will replace the Yoast canonical for those pages.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Vince
Administrator

43103 Posts

Posted - 09/06/2025 :  09:44:42  
Hi Phil
There is also a change in the vsadmin/inc/metainfo.php file which sorts out a problem with the canonical tag.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Phil
ECT Moderator

United Kingdom
7782 Posts

Posted - 09/07/2025 :  02:55:25  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000