Tagged: Agency Analytics, homepage, links
March 22, 2023 at 12:26 pm #1401999
We are having some issues with a site that get this error in Agency Analytics: “Page with missing or incorrect canonical reference”.
We can see in the source code it have this:
<link rel=”canonical” href=”https://domainname.dk/forside/” />
We have compared it with an another site that we have, where the error do not occurs.
<link rel=”canonical” href=”https://domainname.dk/” />
Our guess is that it is because it have /forside. We have looked at the setup and it is the same setup of course different design but the setup are the same.
Can you maybe help me with why the first one get /forside in the end and how to remove it?
/forside = /frontpageMarch 23, 2023 at 7:24 am #1402101
Thank you for the inquiry.
Did you select or set the front page in the Enfold > Theme Options panel? If not, please set it accordingly, then reset the options in the Settings > Reading panel to default.
IsmaelMarch 23, 2023 at 7:52 am #1402106
The settings are the same on both site.
Frontpage Settings > Forside
Settings > Reading > default.
I can provide login to the sites if you want to double check the settings?March 24, 2023 at 3:02 am #1402218
Yes, please provide the login details in the private field so that we can check the settings. Did you install an SEO plugin?
IsmaelMarch 24, 2023 at 7:42 am #1402243
Yes we have a SEO plugin (Yoast).
I have added the login details for you.March 25, 2023 at 4:04 pm #1402472
Thanks for the login, I added a Canonical URL to the page in your Yoast SEO panel the Advanced section.
This is the link to the Yoast documentation please clear your browser cache and check.
MikeMarch 27, 2023 at 11:52 am #1402620
Yes i works, thank you!
Then i have an extra question after the fix. How can it be that we need to add the URL in the Canonical URL under advanced on of the sites but not the other?March 27, 2023 at 12:13 pm #1402624
This is your homepage that page is /forside/ the theme sets it’s path to domainname.dk/ but the Yoast SEO plugin sees the backend path domainname.dk/forside/ so this advanced option fixes the path, all of your other pages use their original path so this is not needed.
MikeMarch 27, 2023 at 12:17 pm #1402625
Alright that make sense. Thank you for your help! :-)March 27, 2023 at 8:02 pm #1402678
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
- The topic ‘Page with missing or incorrect canonical reference’ is closed to new replies.