Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Facebook adds a trailing slash to urls?
-
Hey Guys,
we are facing a problem in our www.batuta.com with Facebook shares.
Seems like because we choose to set our preferred canonical version urls to end with a trailing slash ( / ), like this one e.g.:
www.batuta.com/الوجهات/إسبانيا/
Facebook adds automatically another ( / ) when trying to read the url on first share before its ever indexed in FB. Which makes Facebook think its a bad request! cause then the URL has two // at the end of it.
hope this was clear.
anyway, so first question: did anybody face this issue before? any solutions?
Second, and might be more important:
I might be forced to face the option of changing the canonical tags to be a url without a ( / )
if I will have to do this I will enforce a redirect on every url request with an ending trailing slash ( / ) to be redirected to the new canonical version without.
will this be enough? how big am I supposed to suffer here? am I facing a long time with double indexed urls?
wonder if anybody faced this problem before!
Best Regards
-
Are you seeing this when someone "likes" your page?
When I copied your link and posted it to my Facebook, it worked just fine, and I'm not seeing it.
In the Open Graph meta tags, used for better social sharing, you specific the URL there. Which means, you wouldn't need to change your canonicals, just your open graph tags.
Also, Facebook can be weird due to caching, and they have an entire debugging tool to help you make your page show up correctly.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-