How to clear the cache of LinkedIn sharer manually

前端 未结 7 1220
挽巷
挽巷 2021-01-17 13:59

At using share function via LinkedIn API, one and the same picture is transfered for each page of the website http://hrm.mysitedemo.co.uk
The picture is cached on the s

7条回答
  •  再見小時候
    2021-01-17 14:36

    I've just found a way to force linkedin to fetch a fresh version of the page. Just create a redirect to your destination page and share the redirect page.

    For example:

    If your page that you want to share is: http://hrm.mysitedemo.co.uk

    Create a redirect for a page: http://hrm.mysitedemo.co.uk/share-li to go to http://hrm.mysitedemo.co.uk

    And then share the http://hrm.mysitedemo.co.uk/share-li on linked in. This way linkedin will think it's a new page and it'll get a fresh page version.

    It's easy to do if you're using wordpress, just install a redirection plugin like this one for example: https://wordpress.org/plugins/redirection/

提交回复
热议问题