Hey @carel75,
Thank you for using Yoast SEO and for reaching out!
Hmm, odd. That shouldn’t happen that the same page (and content) would be visible under both URLs you mentioned. Do you happen to have any server-side caching maybe?
So to recap, do both ” pages ” not output a canonical in our output? That sounds weird as well, might be related. What happens if you do a reset of the indexables, does that make any difference? You can find the steps here: https://yoast.com/help/how-to-reset-yoast-indexables/
Hi
Thanks for your answer.
For canonical, i guess this is because the website is not yet indexed. I blocked robot scroll through wordpress reading Menu
Let me try the solution you provided
Thanks
I just did the reset of the indexables. It does not change anything.
I changed wordpress settings for the website to be indexed and the canonical links appears ( and it is the right url : http://www.website.fr/parentpage/page1)
But the page http://www.website.fr/page1 can still be reached
I have no cache on server side.
Hello @carel75
Unfortunately, it’s hard to understand what’s going on without concrete URL examples. It’d be helpful if you could share some affected URLs so we can understand it better.
Also, about creating parent pages, can you let us know how you did that? Was it manually or via a plugin?
Thanks Maybellyne
Here is an example on the non-live website
https://dev.plans.fr/modeles-maisons/maison-traditionnelle/maison-traditionnelle-plain-pied/
and
https://dev.plans.fr/maison-traditionnelle-plain-pied/
Same page ( number 38673). Slight difference in CSS that i can’t explain…and the url is not updated. I dont understand.
I tried to desactivate every plugin, change theme,…
Hey @carel75,
I’ve had a close look at the page source of both URLs – specifically looking at the body classes, see:
<body class="page-template-default page page-id-38673 page-child parent-pageid-4187 theme-woodmart woocommerce-no-js wrapper-full-width catalog-mode-on categories-accordion-on woodmart-ajax-shop-on offcanvas-sidebar-mobile offcanvas-sidebar-tablet offcanvas-sidebar-desktop sticky-toolbar-on elementor-default elementor-kit-32416 elementor-page elementor-page-38673">
<body class="page-template-default single single-page postid-38673 theme-woodmart woocommerce-no-js single-post-large-image wrapper-full-width catalog-mode-on categories-accordion-on woodmart-ajax-shop-on offcanvas-sidebar-mobile offcanvas-sidebar-tablet offcanvas-sidebar-desktop sticky-toolbar-on elementor-default elementor-kit-32416 elementor-page elementor-page-38673">
I’m unsure how you are building those 2 pages, but it seems that one is loading with classes similar to a post single page and the other is loading from the page hierarchy. So yeah, I can imagine that this loads different CSS.
I guess but I’m unsure that this is related to how you’ve build these pages with Elementor Pro/Elementor Kits, but we’re not an expert on this. Maybe it’s a good step to reach out to Elementor support to see how they can help you and fix both the CSS issue and the double URLs for those pages.
Jeroen Rotty
Thanks a lot
I ll open a ticket with them and let you know
@carel75 You’re welcome. If you should need any further assistance, please do not hesitate to let us know.