• Resolved frank42

    (@frank42)


    Hi,

    I activated the plugin on https://einhorn.bar/ but it creates links to another website on the same machine, for example:

    <meta property="twitter:url" content="https://murphy.foxalpha.de/">

    that’s not even a configured vhost on this server. The name murphy.foxalpha.de is the FQDN of the server itself.

    • This topic was modified 1 year, 2 months ago by frank42.
    • This topic was modified 1 year, 2 months ago by frank42.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcin Pietrzak

    (@iworks)

    hi @frank42

    Please check another plugins – maybe they change smth. I have no idea why is different url – i checked and I can not reproduce. I’m sorry.

    Could you paste your site active plugins list?

    Marcin

    Plugin Author Marcin Pietrzak

    (@iworks)

    ping @frank42

    Thread Starter frank42

    (@frank42)

    Sorry for the delay, had a broken wrist recently and reduced screentime significantly.

    After checking today, I have to report more unusual behaviour. Besides the fact that the setting seems to be correct on the main page https://einhorn.bar/:
    <meta property="twitter:url" content="https://einhorn.bar/">

    it seems that other pages have other settings, for example
    <meta property="twitter:url" content="https://mail.zum-tanzenden-einhorn.de/reservierung/">
    on the page https://einhorn.bar/reservierung/.

    The subpage https://einhorn.bar/events/pubquiz/ shows
    <meta property="twitter:url" content="https://altpeter.de/events/pubquiz/">
    as property.

    It seems like the plugin is using random FQDNs from the server. I don’t see a pattern, though.

    The following plugins are currently installed and active:

    ActivityPub
    Colibri Page Builder PRO
    Custom Contact Forms
    Disable Comments
    Easy Updates Manager
    Flexi Pages Widget
    iframe
    Insert PHP Code Snippet
    Loco Translate
    NextGEN Gallery
    OG
    PDF Embedder
    Reusable Blocks Admin Menu Option
    Site Kit von Google
    Social Media Widget
    TablePress
    Theme Switcha
    Ubernyms
    Use Any Font
    WP fail2ban
    WP Hydra
    WP Links Page
    WP Mail SMTP
    WP Render Blogroll Links
    WP-Paginate
    WP-WebAuthn
    XML Sitemap Generator for Google

    Plugin Author Marcin Pietrzak

    (@iworks)

    hi @frank42

    Thank you for the ansewer.

    This is really odd…

    og:url is created from get_permalink() function and I suppose there is or was some issue with your home address:

    https://github.com/iworks/og/blob/master/includes/iworks/class-iworks-opengraph.php#L525

    twitter:url is hust a copy from og:url:

    https://github.com/iworks/og/blob/master/includes/iworks/class-iworks-opengraph.php#L915-L918

    Did you ever use this url? mail.zum-tanzenden-einhorn.de – maybe it is use somewhere? DB? wp-config.php?

    Could you check it?

    Marcin

    • This reply was modified 1 year, 2 months ago by Marcin Pietrzak. Reason: added url to code
    Plugin Author Marcin Pietrzak

    (@iworks)

    I have one more thought: if alternate URLS can be used, then my plugin just cache this values – please be sure you website can be reached only using proper URL.

    After that, please delete all transient cache.

    Marcin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrong URL in xxx:url content’ is closed to new replies.