-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Facebook Sharing Link in posts is not a valid URL #641
Comments
I cannot reproduce this behaviour and the sharing feature works fine in the demo website. Please provide a link to your code repository or consider posting on the support forums. |
For me that happened when I used "serve_site" and then copied the public directory to my server (also, draft=TRUE didn't work). Ever since I correctly build my site (now using netlify but also at home) the links are correctly working (what you see is only the relative path, not the absolute one). |
I build my site with hugo and updated the theme, the link is still giving an error |
I am using blogdown and the difference lies between serve_site and build_site (hugo_build): https://bookdown.org/yihui/blogdown/local-preview.html. Also check the footnote 46 on the same site. |
Also, check that your I'm closing this as it's not a bug. If you need any further assistance, please use the support forums. |
I changed baseurl at the top of config.toml to my domain's URL (instead of /) and now works perfectly! Thanks for helping! |
I enabled social sharing buttons in my posts and realised that the Facebook one gave an error.
For instance, if you look at this post: https://www.hackdown.me/post/lucky-patcher/
when clicking on Facebook icon, you are redirected to this page: https://www.facebook.com/sharer.php?u=%2fpost%2flucky-patcher%2f and you get an invalid URL error.
The text was updated successfully, but these errors were encountered: