Hello everyone,
Looking forward to a Refer-a-friend plugin for wordpress.
I just need it to let us redirection visitors to another site (it's for social media sharing purposes only, a bit like a shortlink service), and to let me pick the social media images (metadata), as the pages will be empty.
Can you recommend any?
Prettylinks and Clickervolt dont let us pick social media metadata images.
Thanks!
Sure jeremie.
Our non-wordpress site is not prepared for custom metadata per page.
We have a wordpress on a subdomain, where we want to create a redirect link that people can share on facebook (the link must redirect users to our non-wordpress site, and let us choose the metadata of that link).
The final site is just where the users will be redirected, if they click on the share link.
Can you suggest any plugin?
Ok, you want to pass the correct metas to FB, so that the link is nicely displayed when shared on Facebook.
Unfortunately, you can not pass the metas with a link, as the FB OpenGraph relies on metas being displayed on a page.
So all the traditional redirect plugins that rely on the WP standard redirect function won't work.
What you could do:
- create a blank page in your wordpress subdomain for each link you want to redirect
- define all the metas you want on the wordpress page
- create a meta redirect using one of the following plugins. You will have to configure it on each page so that it points to the correct URL.
https://wordpress.org/plugins/shortcode-redirect/
https://wordpress.org/plugins/delay-redirects/
These plugins create redirects using the <meta http-equiv="refresh" ... > markup and i don't think the FB crawler follows this type of redirect, so you should be good.
The downside, is that the redirect will show a blank page for a few hundreds ms.
Otherwise, you can do a JS redirect by adding a script on each page, but it will be a bit slower than the previous method:
<script> window.location.href= 'https://www.stmforum.com/forum'; </script>
Thanks Jeremie!