This extension is tested in the fresh opencart installation. However, there might be a rare possibility of conflict if you have installed third-party plugins or extensions. Therefore it is suggested to test and validate the working of the extension.
Video Demonstration
How to Test Canonical URLs
Canonical URLs play a crucial role in SEO by preventing duplicate content issues and helping search engines understand the preferred version of a page. Here’s how you can test if your canonical URL is working correctly.
1. Check the Page Source
- Right-click on the webpage and select “View Page Source” (or press
Ctrl + U
). - Look for the
<link rel="canonical" href="URL">
tag in the<head>
section. - Ensure the URL matches the correct version of the page.
2. Use Browser DevTools
- Open the page in Google Chrome.
- Press
F12
orCtrl + Shift + I
to open Developer Tools. - Go to the Elements tab and search for
canonical
to verify its presence.
3. Test with Google Search Console
- Go to Google Search Console → URL Inspection Tool.
- Enter the page URL and check the “Canonical URL” section.
- If Google selects a different canonical than your defined one, there might be indexing issues.
Common Issues & Fixes
✅ Ensure there is only one canonical tag per page.
✅ Check for conflicts caused by multiple versions (HTTP vs. HTTPS, www vs. non-www).