• Resolved fgoellner

    (@friederun-goellner)


    This project is a local news blog that is online since 8 years. Recently we’ve updated to a different theme with some minor adjustments in a child theme. After relaunch we found out, that links embedded in a post per embed URL linking to other posts of the same project sort of break. In the post mentioned above all embedded links in the bottom should link to different articles. In the front you see duplicates and links to completely different posts.
    Tried to delete data in postmeta starting with oembed – no difference.
    Tried to deactivate some recently added plugins – to no effect.
    Tried to delete “broken” link in the backend and add it again – still linking to wrong post.
    Tried to find any hint in database where broken links are linking to – without success. The links are correctly shown in post_content:

    https://staging.nordstadtblogger.de/hotel-fuer-obdachlose-stadt-finanziert-private-initiative-obwohl-es-ihrer-meinung-nach-ausreichende-angebote-gibt/
    
    https://staging.nordstadtblogger.de/oeffnet-die-hotels-fordert-stadtrat-auf-endlich-verantwortung-zu-uebernehmen-kundgebung-an-den-westfalenhallen/
    
    https://staging.nordstadtblogger.de/bett-statt-schlafsack-gast-haus-team-waermebus-und-bodo-starten-niederschwellige-notunterbringung-fuer-obdachlose/
    
    https://staging.nordstadtblogger.de/wohnungslosenhilfe-der-diakonie-kaempft-gegen-kaelte-bahnhofsmission-verteilt-hilfsgueter-cafe-berta-geoeffnet/
    
    https://staging.nordstadtblogger.de/hingehen-statt-wegsehen-jugendliche-der-youngcaritas-besuchen-mehrmals-monatlich-obdachlose-in-dortmund/
    
    https://staging.nordstadtblogger.de/winternothilfe-am-dortmunder-u-200-ehrenamtliche-fuellen-fruehstuecksbeutel-und-teilen-abendessen-aus/
    
    https://staging.nordstadtblogger.de/winternothilfe-am-dortmunder-u-bietet-obdachlosen-ab-montag-einen-platz-zum-aufwaermen-und-essen/
    
    https://staging.nordstadtblogger.de/neue-anlaufstelle-fuer-wohnungslose-in-dortmund-die-winternothilfe-am-u-startet-einen-ehrenamts-aufruf/
    
    https://staging.nordstadtblogger.de/im-einsatz-gegen-soziale-kaelte-in-dortmund-ehrenamtliche-sind-dreimal-in-der-woche-mit-dem-waermebus-unterwegs/
    
    https://staging.nordstadtblogger.de/tag-der-armut-dortmunder-obdachtlosenhilfen-schlagen-alarm-beschlossene-zeltloesung-sichert-nur-teilversorgung/
    
    https://staging.nordstadtblogger.de/wegfall-von-regelangeboten-wegen-corona-stadtrat-einmuetig-fuer-staerkung-der-obdach-und-wohnungslosenhilfe/
    
    https://staging.nordstadtblogger.de/diakonie-oeffnet-ersten-tagesaufenthalt-fuer-wohnungslose-seit-pandemiebeginn-brueckentreff-team-zieht-ins-wichernhaus/
    
    https://staging.nordstadtblogger.de/trotz-sommer-sonne-und-corona-lockerungen-bleibt-die-lage-fuer-obdachlose-auch-in-dortmund-schwierig/
    
    https://staging.nordstadtblogger.de/mahlzeiten-und-duschmoeglichkeiten-fuer-obdachlose-stadt-und-wohlfahrtsverbaende-organisieren-hilfen-in-dortmund/
    
    https://staging.nordstadtblogger.de/obdachlosenhilfe-in-zeiten-von-corona-ein-freitag-abend-mit-dem-waermebus-in-dortmund/

    Don’t have any new idea to debug that.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @friederun-goellner

    Here is an interesting read, but it sounds like you’ve tried something similar manually by deleting stuff from the postmeta table in the database. It will also be good to establish exactly how the embeds have been added to a post as well: https://polevaultweb.com/2019/05/clearing-the-wordpress-oembed-cache/

    Thread Starter fgoellner

    (@friederun-goellner)

    Hi Wes Theron,
    Thank you very much for your answer. I read the article you mentioned. It might be a cache problem, indeed. But in our case we have neither those text entries nor is the embedded content broken. It is just the wrong content. The link entered in the backend is to another article than the embedded article link shown in the front. Just compare the bottom entries of the site above and the list I quoted which I copied from the same article in the backend. No duplicates.
    It happens with both ways to include those links: Either I just paste to the content a copied URL from the article I want to show or I click on Add Data above the editor and on the media selection window on the left I choose the last entry like add URL.
    Actually the site still uses classic editor for content but WP, theme, and plugins are all up to date.
    Thanks for your help. Best regards.

    I wonder if the issue continues with all plugins deactivated and the Twenty Twenty-One theme in use on _both_ sites?

    If not, reactivate them one by one until you find the one causing the problem.

    Keep well

    Thread Starter fgoellner

    (@friederun-goellner)

    Hi, thank you very much vor your reply. Actually after many tests we solved the problem: It was “Embed Privacy” that corrupted links to content of the same site linked by URL. To find out, that this is the problem, we also had to deactivate Yoast SEO. Otherwise the caching interferes. But we need Embed Privacy for extern content like youtube or social media. So the workaround was to create a new entry in the preferences and insert the regex /nordstadtblogger\.de/ and check disable this entry. So all inserted links from nordstadtblogger.de are delivered by WP again.

    I am very glad you got it sorted out!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘embedded post links show different content’ is closed to new replies.