Link of my home page adds the author link also.

  • Hi,
    I have a simple yet frustrating problem.
    When I copy my website link (my home page) and paste it, to Discord specifically, it also adds a link to my author page.

    Check the link for the image: https://drive.google.com/file/d/1hihXkbuY9qfgF9x1PTwGiIsgLgt-ZnUP/view?usp=sharing

    I do not use any SEO plugins.

    How can I remove it? Any settings that I am missing out?

    Any help would be welcome.
    Thank you.

  • Hi there!

    We are unable to help because we don’t host your site hiddentowerstudios.com directly on our WordPress.com managed hosting. Instead, your site is hosted with a different provider on a separate host, and we’re unable to provide support. But I can get you pointed in the right direction.

    You would need to investigate what Discord uses for link previews – many social networks like Facebook and Twitter use Open Graph meta tags to build post previews and descriptions, so it’s possible Discord uses the same thing.

    If you still have trouble, please reach out to the WordPress community for guidance:

    https://wordpress.org/support/forum/how-to-and-troubleshooting

    I hope this points you in the right direction.

  • I managed to solve it with a bit of code. It is Discord’s way of loading links. If you want to avoid it you have to go to functions.php and add the code below:

    add_filter( 'oembed_response_data', 'disable_embeds_filter_oembed_response_data_' );
    function disable_embeds_filter_oembed_response_data_( $data ) {
        unset($data['author_url']);
        unset($data['author_name']);
        return $data;
    }

    This will remove the author’s URL from the link.

  • The topic ‘Link of my home page adds the author link also.’ is closed to new replies.