WebSite X5Help Center

 
Alvin L.
Alvin L.
User

Canonical Settings For Blog Pages  en

Auteur : Alvin L.
Visité 388, Followers 1, Partagé 0  

I currently use the [CURPAGE] in the header of my webpage to specify the Canonical.  However, this does not work correctly for the Blog pages. Is there a variable or something that can be added to the linkrel="canonical" that will capture the webpage data after the webpage, so it includes the ? and everything following? 

Here's an example of what I am asking.  The URL of a blog page will look something like this:

https://www.mywebsite.com/blog/index.php?my-blog-page-title

The [CURPAGE] variable will only capture everything upto the index.php but the canonical for a blog page needs to include everything after that as well.  Anyone know an easy workaround for this?

Posté le
5 RéPONSES - 2 UTILE
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois EN

I just tested with the current Pro version 2023.3.7 and found that the Canonical tags are automatically added to the blog posts - so the user doesn't have to do anything.

Evo (tested with version 2023.2.8) also includes the automatic creation of canonical tags - nothing needs to be done here either.

----- Evo 2023.2.8 test page -----

<linkrel="canonical" href="http://finde-links.de/123blogkommentare/blog/?at-vero-eos-et-accusamus-et-iusto" target="_blank" rel="nofollow">http://finde-links.de/123blogkommentare/blog/?at-vero-eos-et-accusamus-et-iusto">http://finde-links.de/123blogkommentare/blog/?at-vero-eos-et-accusamus-et-iusto"/>

Lire plus
Posté le de Daniel W.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois EN

Unfortunately the forum software changed the code, so here is a screenshot from the source code.

----- Screenshot -----

Lire plus
Posté le de Daniel W.
Alvin L.
Alvin L.
User
Auteur

I have been experimenting with this and Daniel is correct.  If I do not specify a cononical in the header, WebsiteX5 will add one to the blog pages.  But it does not add the canonical to the standard HTML pages.  This is a bit aggrevating because it's not consistent.  Google is killing me with this canonical.  If I remove the canonical, Google complains there is none.  So I need a canonical on all the HTML pages.

Is there any way to add the canonical to every page without touching hundreds of pages manually?  Removing the canonical from the "Statistics and Code" under "Settings" does fix the issue of not having the proper canonical on blog pages, but I now have to touch every other page manually to add the canonical, and we are talking hundres of pages.

Lire plus
Posté le de Alvin L.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois EN

It's best to post this wish here as an idea, perhaps this automatic function will be included in one of the next updates, as it will make the work of many WebSiteX5 users easier.

-----

Lire plus
Posté le de Daniel W.
Alvin L.
Alvin L.
User
Auteur

I will do that, thank you Daniel.

Lire plus
Posté le de Alvin L.