Why is there no canonical URL in the search results pages?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
pierredu
Registered User
Posts: 847
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Why is there no canonical URL in the search results pages?

Post by pierredu » Thu Mar 22, 2018 12:22 pm

Hello,

I was trying to understand why Googlemaps tells me that I have so much pages without canonical URL and tried to find the reason why.
I found that the searching scheme doesn't put a canonical URL in the header. This could amount for a fair number of such pages pointed to by Google.
More, on my board, I use a tagging scheme which also displays its results using the search_results template.

This could explain several hundred of such pages without canonical URL on my board.

Was this done by purpose?
Can somebody shed some light?
Thanks in advance.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51186
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Why is there no canonical URL in the search results pages?

Post by Brf » Thu Mar 22, 2018 1:16 pm

Is Google doing Searches on your board? I didnt think Bots were allowed to Search.

User avatar
pierredu
Registered User
Posts: 847
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: Why is there no canonical URL in the search results pages?

Post by pierredu » Thu Mar 22, 2018 2:05 pm

Thanks, this would be an explanation.

As a matter of fact, those pages are not exactly searches.
There are static pages (taxonomic tree) and the leaves of this tree are searches.
See https://www.insecte.org/forum/app.php/i ... aiguillage for the main tree and https://www.insecte.org/forum/app.php/i ... =Tabanidae for a level below, with links toward direct searches.

User avatar
Ger
Recognised Extension Developer
Posts: 1557
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Why is there no canonical URL in the search results pages?

Post by Ger » Tue Mar 27, 2018 8:53 am

Those aren't standard phpBB pages. You should seek support at the extension author.
My extensions: Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update and Modern Quote
Newest: Quoted Where + anonymize

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
pierredu
Registered User
Posts: 847
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: Why is there no canonical URL in the search results pages?

Post by pierredu » Tue Mar 27, 2018 1:27 pm

I'm the author of this extension (indexing extension) which piggybacks another extension (topic tags).
I just wanted to know what is the situation and why.
I already added a canonical URL in the head of those pages. This is not really difficult.

Thanks anyway for answering.

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests