Troubleshooting Canonical Link Issues in PrestaShop 8.2.0 Contact Form

Diagnosing Contact Form Canonical Link Errors in PrestaShop 8.2.0

A PrestaShop merchant, Kabel Schmidt, encountered an issue with the contact form in PrestaShop 8.2.0. After removing IDs from URLs to improve SEO, an SEO audit tool (Seobility) flagged incorrect canonical links related to the contact form. The merchant sought advice on locating the contact form configuration within the PrestaShop backend to rectify the problem.

The merchant reported finding the default PrestaShop contact form module (v4.4.3) but noted that it only contained two sliders without any apparent configuration options to address the canonical link issue. Despite the contact form appearing normal on the frontend without IDs in the URL, the SEO audit indicated a persistent incorrect link somewhere in the backend configuration.

The initial question:

"Kann mir jemand einen Tipp geben, wo ich bei mir im Backend die Seite des Kontaktformulars finde oder wo dieses konfigiriert wird?"

Translation: "Can someone give me a tip where I can find the page of the contact form in my backend or where it is configured?"

Investigating Multishop and ID Parameters

A forum user, JBW, inquired whether the merchant was using the Multishop feature, as the id_shop parameter is relevant in a Multishop context. The user asked:

"Und wo siehst du diesen Link mit ID? id_shop ist nur bei Multishop relevant, ist diese Funktion im Einsatz?"

Translation: "And where do you see this link with ID? id_shop is only relevant for Multishop, is this function in use?"

The merchant confirmed that Multishop was not enabled.

Further Details on the Issue

The merchant clarified that the incorrect canonical link was identified during an SEO audit with Seobility. The tool also reported a potential issue with the www redirect, although manual testing showed that the redirect was functioning correctly for regular pages with and without www. The merchant suspected that these might be two separate issues but was unsure of the origin of the incorrect link.

The merchant stated:

"Nein, kein Multishop. Bei der Prüfung der Seiten mit Seobillity taucht dieser Link in einigen "Fehlermeldungen" auf. Unter anderem auch als Beispiel, dass der www redirect nicht funktionieren würde. Manuell geprüft, funktioniert aber die Weiterleitung der normalen Seiten mit und ohne www Das können aber auch zwei unterschiedliche Probleme sein. Ich habe keine Ahnung wo dieser Link auf einmal herkommt."

Translation: "No, no Multishop. When checking the pages with Seobility, this link appears in some "error messages". Among other things, as an example that the www redirect would not work. Manually checked, but the redirection of the normal pages works with and without www. But these can also be two different problems. I have no idea where this link suddenly comes from."

Conclusion

The thread highlights a potential issue with canonical links in the PrestaShop 8.2.0 contact form, possibly triggered by URL modifications for SEO purposes. While the exact cause and solution remain unresolved within the thread, it serves as a starting point for troubleshooting similar problems. Further investigation might involve checking the theme's .htaccess file, URL rewriting rules, and the contact form module's code for any hardcoded links or misconfigurations.

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools