Yes you are right Krileon and thank you for your reply.
Both urls work pretty fine when inserted as posts in linkedin timeline. When the posts are clicked they redirect to the right single post.
For example if you share demo.cbdemosites.com/community/recent-activity?id=339 to linkedin timeline, it will redirect the clickers correctly to the timeliine and will show only post id 339.
BUT...
If the sharing is performed through a link on a website, then linked in strips the id number. So it redirects back to activity page.
example...
Let's suppose we want to create a "share to linkedin" link on our website that will share (demo.cbdemosites.com/community/recent-activity?id=339) to linkedin
The url of our link will be...
linkedin.com/shareArticle?url=demo.cbdemosites.com/community/recent-activity?id=339
If you check the above link, you will see that it redirects to share the activity post correctly but as a backlink it strips the id. So it redirects to
demo.cbdemosites.com/community/recent-activity?id
I guess that if the sef url of the activity post was
demo.cbdemosites.com/community/recent-activity/339
it would work.
But this would require a menu item for a single timeline post, so the link to the certain post would be like
demo.cbdemosites.com/community/recent-activity
/339
I believe (in accordance to what i have read all day today) this is the problem. The way to make this work is... to have the url without
"?id=339" but with
"/339" at the end.
Is there any workarround for this?
Thank you in advance.