• Resolved carel75

    (@carel75)


    Hi

    I am stuck trying to solve this problem:
    I had a lot of pages for which i created parent pages.
    It means that for instance my old pages had an url like
    https://www.website.fr/page1
    and now their url is
    https://www.website.fr/parentpage/page1

    Problem is that i just noticed that i can reach bot pages
    https://www.website.fr/parentpage/page1 AND https://www.website.fr/page1

    Each url is displaying the one and unique page (same page number in wordpress back office) so i am sure that there is no duplicate.

    I am using some plugins including Yoast SEO and woodmart theme but both are updated and desactivating them do not solve the problem.
    I was using a cache plugin (wp rocket) but it is not activated.
    I tried to change permalink settings again and again…but nothing happens.

    The only problem i see is that in the source code of the page i see no canonical link even if yoast seo is activated.
    Do you have any idea ? Is it a server side issue ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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/

    Thread Starter carel75

    (@carel75)

    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

    Thread Starter carel75

    (@carel75)

    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 : https://www.website.fr/parentpage/page1)

    But the page https://www.website.fr/page1 can still be reached

    I have no cache on server side.

    Plugin Support Maybellyne

    (@maybellyne)

    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?

    Thread Starter carel75

    (@carel75)

    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.

    Thread Starter carel75

    (@carel75)

    Jeroen Rotty

    Thanks a lot

    I ll open a ticket with them and let you know

    Plugin Support devnihil

    (@devnihil)

    @carel75 You’re welcome. If you should need any further assistance, please do not hesitate to let us know.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Double URL for each page’ is closed to new replies.