Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6902095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:45:20+00:00 2026-05-27T07:45:20+00:00

I’ve been searching and testing for a solution the last 3 hours now. I

  • 0

I’ve been searching and testing for a solution the last 3 hours now.
I wanna be able to like the following link. Please note that this is the only category implementing the Like button right now and I have hard coded a quick fix.

I have implemented the like button and it works so far (It’s hidden for now however). The problem arise when I try to add the OG meta data specified by Facebook. I have used the facebook debugger to find out what is wrong.

As you might notice the query string includes slashes which Facebook encodes. Obviously this was the first thing I tried to adjust. And believe me. I have tried everything here. Replacing / with %2F, encoding other special chars like & etc. My conclusion was that facebook arrives to the address with the slashes, encodes the content in the og:url property and therefor kind of mismatch somehow. I found more people having problems with slashes in the url but none of the solutions have worked out for me. I saw a note that content-length missing in the header could be a problem for the spider to handle, but adding it made no difference.

Change of doctype, temporarily remove other meta tags, change their order etc. have not made any effect.

The only thing that makes a difference is if i input the encoded version of the link in the debugger (http://www.d-gear.se/?page=%2Fshop%2Fbcat&c=144). The error is then gone (warnings remaining) but as you see it still can’t find the og-tags in the document.

As a final way to get any clue I tried the following while following the original category link.

<meta property="og:url" content="http://www.d-gear.se/" />

It made absolutely no difference at all. In the debugger the same error arises and the information under redirect path is:
original http://www.d-gear.se/?page=%2Fshop%2Fbcat&c=144
rel=”canonical” http://www.d-gear.se/?page=%2Fshop%2Fbcat&c=144
I checked the source code of the page and it had been updated to http://www.d-gear.se/ there. (Now I have changed back to the intended canonical URL again)

It’s probably one really easy solution to this, but I’m stuck here and don’t wanna waste the rest of the evening in case someone here is able to just point out the error to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:45:21+00:00Added an answer on May 27, 2026 at 7:45 am

    After a few more hours of testing I noticed that charset was set to LATIN-1. Changing it to ISO-8859-1 made the difference. (Somewhere deep inside my brain I think I read that those two are the same)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.