Hi I am using newest SPIP 4.2.6 version and I have some problem with indexing in Google Search console. I notice that I can use both link with and without .html and I get that same page. I think that could causes that problem. I am quite sure that in my older version SPIP page was redirected too that link I choose in URL configuration. Do you think my problems with indexing could be connected with .htacces? How to fix it? I use default htacces file.
@maieul I notice that from each adress I get difirent rel cannonical. Each adress has thier own canonical.
that is the problem, normally that should not. You may have a mismade template. Which one do you use ? Could you use a ?var_mode=inclure to get the name of the file producing the head?
Normally, the canonical generation should be of this form [<link rel="canonical" href="(#URL_ARTICLE|url_absolue)" />] (for a article page)