Title: Back link not working
Last modified: February 21, 2024

---

# Back link not working

 *  Resolved [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/)
 * The plugin shares my blog post to LinkedIn correctly, but the link in the LinkedIn
   post back to my blog post always goes to a 404 Page not found page. I have to
   edit the LinkedIn post manually with the correct url to my blog post.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fback-link-not-working-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17444408)
 * Hi [@shefi](https://wordpress.org/support/users/shefi/),
 * What should the link go to?
 * Thanks,
 *  Thread Starter [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17444499)
 * Thanks. It should go here: [https://academicwritingsensei.sheffnersweb.net/blog/goodbye-students/](https://academicwritingsensei.sheffnersweb.net/blog/goodbye-students/)
 * The problem might be on LinkedIn’s end as LI automatically change my blog post
   link to their own customized one. But their customised links always go to “page
   not found”.
 *  Thread Starter [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17444516)
 * I just created a test post
 * [https://academicwritingsensei.sheffnersweb.net/blog/test-post/](https://academicwritingsensei.sheffnersweb.net/blog/test-post/)
   
   It appears properly on LI but LI’s back link [https://lnkd.in/gAAJxD6b](https://lnkd.in/gAAJxD6b)
   goes to page not found instead: [https://academicwritingsensei.sheffnersweb.net/blog/test-post/for](https://academicwritingsensei.sheffnersweb.net/blog/test-post/for)
   I have to manually copy my WP blog link then go to my LI post and edit (paste)
   the link. Then it works.
    -  This reply was modified 2 years, 6 months ago by [shefi](https://wordpress.org/support/users/shefi/).
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17444558)
 * Hi [@shefi](https://wordpress.org/support/users/shefi/),
 * This just doesn’t make sense, something is not right.
 * I think there’s 2 possibilities here maybe. Firstly, can you please send a screenshot
   of the post edit page of: [https://academicwritingsensei.sheffnersweb.net/blog/goodbye-students/](https://academicwritingsensei.sheffnersweb.net/blog/goodbye-students/)
   showing our share metabox. I want to see if there’s anything weird with your 
   share message template.
 * The other possibility is you have some plugin or custom code which is changing
   the link of the post. Our plugin uses the get_permalink function to determine
   the link of the post (and this is what is sent to LinkedIn): [https://developer.wordpress.org/reference/functions/get_permalink/](https://developer.wordpress.org/reference/functions/get_permalink/)
   
   There is no other way (really) or better way to get this link. Maybe if there’s
   custom code or plugin which is mucking around with the permalinks maybe it is
   affecting the normal functionality of this function (because the function does
   have filters which have the potential to be manipulated), I am not sure. So you
   can try using a basic theme and deactivating all other plugins and see how that
   goes – to rule that possibility in or out.
 * Thanks,
 *  Thread Starter [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17444991)
 * I attach screenshot of edit page showing just the metabox.
 * [https://snipboard.io/qwLOoP.jpg](https://snipboard.io/qwLOoP.jpg)
    -  This reply was modified 2 years, 6 months ago by [shefi](https://wordpress.org/support/users/shefi/).
    -  This reply was modified 2 years, 6 months ago by [shefi](https://wordpress.org/support/users/shefi/).
    -  This reply was modified 2 years, 6 months ago by [shefi](https://wordpress.org/support/users/shefi/).
 *  Thread Starter [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17445194)
 * I deactivated all. my plugins (except WP LinkedIn Auto Publish of course) and
   switched theme to Twenty Twenty-Four.
 * I published another blog post (one I had never published to LinkedIn) but got
   the same result – page not found.
 * Original blog post URL – [https://academicwritingsensei.sheffnersweb.net/blog/matsuo-basho-the-narrow-road-to-the-north/](https://academicwritingsensei.sheffnersweb.net/blog/matsuo-basho-the-narrow-road-to-the-north/)
 * LinkedIn back link – [https://lnkd.in/gkHs2nrr](https://lnkd.in/gkHs2nrr)
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17447533)
 * Hi [@shefi](https://wordpress.org/support/users/shefi/),
   In your share message,
   please put a space between [POST_LINK] and [POST EXCERPT] this could very well
   explain the issue.
 * Thanks,
 *  Thread Starter [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17450294)
 * Hi, Northern Beaches,
 * Added a space between [POST_LINK] and [POST EXCERPT] . Made no difference. Problem
   persists. Thanks for playing! I give up.
 *  Thread Starter [shefi](https://wordpress.org/support/users/shefi/)
 * (@shefi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17452237)
 * FYI, I think I have fixed the problem. In my WP settings, my permalink structure
   was set to “Post name”. This always resulted in LinkedIn’ back link going to 
   a 404 page not found.
 * I changed the permalink to “Plain” and now the LinkedIn back link seems to go
   to the correct page.
 * You’re welcome.
    -  This reply was modified 2 years, 6 months ago by [shefi](https://wordpress.org/support/users/shefi/).
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17454796)
 * Hi [@shefi](https://wordpress.org/support/users/shefi/),
 * Fantastic to hear and good job working that out. I will need to take note of 
   this should this come up again!
 * Thanks 🙂
 *  [ronsnow1](https://wordpress.org/support/users/ronsnow1/)
 * (@ronsnow1)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/back-link-not-working-2/#post-17887054)
 * While glad for a workaround, we really need to use permalinks with the “Post 
   name” format. We also use WPML so our website has an additional “/en” for the
   URL. When we post with Post name the URL should be: [https://ibssgroup.com/en/news-wakefield-accelerator/](https://ibssgroup.com/en/news-wakefield-accelerator/)
   
   However, LinkedIn is showing [https:///en/news-wakefield-accelerator/](https://wordpress.org/support/topic/back-link-not-working-2/?output_format=md)(
   the domain is missing)
 * I hope that there is a solution that will allow the correct post name based URL
   to be reflected in LinkedIn’s posting.
 * Thanks,
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/back-link-not-working-2/page/2/#post-17889150)
 * Hi [@ronsnow1](https://wordpress.org/support/users/ronsnow1/),
 * You should create another thread for this issue. But our plugin uses the standard:
   get_permalink function to get the posts permalink. I would have thought that 
   other plugins, like WPML, would filter the permalink. I can create a developer
   filter so you can manipulate the link shared for a given post ID, but I honestly
   can’t see how that would be terribly useful as get_permalink should work for 
   99% of people.

Viewing 12 replies - 1 through 12 (of 12 total)

 The topic ‘Back link not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-linkedin-auto-publish/assets/icon.svg?rev=1563043)
 * [WP LinkedIn Auto Publish](https://wordpress.org/plugins/wp-linkedin-auto-publish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-linkedin-auto-publish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/reviews/)

 * 17 replies
 * 3 participants
 * Last reply from: [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/back-link-not-working-2/page/2/#post-17889150)
 * Status: resolved