wrong syntax of my canonical URL with Custom Canonical Plug-in

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
raziel1973
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Mon Sep 06, 2010 5:41 pm

wrong syntax of my canonical URL with Custom Canonical Plug-in

Post by raziel1973 » Sun Jan 31, 2021 12:32 am

Hi and thank you for your help.
I using Custom Canonical plug-in.
The syntax that this plug-in use is:
<link href="my_website.com" rel="canonical" />
and not
<link rel="canonical" href="my_website.com" />

witch one is correct?
To fix sef-url I change an URL of my website and also did a redirect 301 from old URL to new one.

It's one week and Google doesn't change the canonical URL. The says that my page is a duplicate.
The problem is the wrong sintax of tag?
thank you.
Tony

Alex W
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Wed Jan 13, 2016 4:05 am

Re: wrong syntax of my canonical URL with Custom Canonical Plug-in

Post by Alex W » Thu Apr 22, 2021 7:38 pm

I am using the Custom Canonical plug-in on my site.

The syntax:
<link href="my_website.com" rel="canonical" />

works fine, but in my experience it takes more than a week for google to notice things like this. It probably took 3-4 weeks (maybe longer) after I installed the plugin for most of my "duplicate without user selected canonical" errors to go away.


Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”