Keyword

[SOLVED] K2 og:url problem

  • Tazzoz
  • Tazzoz's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #115067 by Tazzoz
[SOLVED] K2 og:url problem was created by Tazzoz
I am running a website on joomla 1.5 with K2 2.6.6

There is a problem with the og:url meta tag. There is an extra parameter to the end of the url like ?q=page alias.

Suppose you have a url like this: www.website.com/articles/sport/item/150
The url that K2 produces for og:url is www.website.com/articles/sport/item/150?q=articles/sport

That url turns into loop and facebook does not recognize the url.

Any ideas?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 11 months ago #115068 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 og:url problem
Hello Tassos,

Are you using ans SEO/SEF extensions or any .htaccess tweaks?
This suffix is not added by K2.

Please Log in or Create an account to join the conversation.

  • Tazzoz
  • Tazzoz's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #115069 by Tazzoz
Replied by Tazzoz on topic Re: K2 og:url problem
Finally I figured it out.
The problem was with the nginx directives for Joomla.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum