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
Not working with (redis) cache #120
Comments
How did you implement the webmention io fallback? |
This way:
based on this explanation: Update: the code is placed in the header.php |
@ppc1337 Webmention.io is an external webmention handler. The Webmention plugin has its own built-in webmention handler. So you don't need webmention.io for webmentions. You are declaring that your webmention handler is webmention.io. Which means that site would store it. Since the Webmention plugin doesn't support reading from webmention.io, the data would not come to your site. Now, if you wanted to just use their pingback to webmention gateway, that would be the first line only. But you'd need to remove all references to the xmlrpc.php gateway on your site from your theme. There are two ways to do this.
I did want to write that as a simple plugin someday that would also disable pingback handling by xmlrpc...like this below. Maybe I will someday.
|
@dshanske thanks for your quick reply - makes sense to me and I will check it late at the day. One more question: do I have to use webmention.io or is there a way I can use webmentions with the webmention-plugin and pingbacks at the same time - maybe with
which was already placed in the themes header? I'm not sure, but for me it looks like that the webmentions-plugin is replacing the pingback-stuff in wordpress with the webmention-functionality (with my first tests last weekend I noticed, that the webmentions worked, but not the pingbacks anymore - thats the reason I was looking for a solution to run webmentions and pingbacks parallel) |
Webmentions the plugin does not interfere with Pingbacks in any way. Both can be run in parallel. The only commonality is that Webmentions uses the Pingbacks Open setting in WordPress. You do need the pingback header you mentioned. Webmentions puts in the headers automatically. WordPress does not put in pingback headers and relies on the theme to do that due backward compatibility issues. |
@dshanske Alright, thank you a lot! |
can we close this? |
yes, of course
Viele Grüße
Martin Behrendt
…--
wihel.de <https://www.wihel.de/>
mb@wihel.de
Leverkusenstieg 15
22761 Hamburg
*Mehr im Netz*: Facebook <http://www.facebook.com/wihelde> | Twitter
<https://twitter.com/wihelde> | Tumblr <http://wihel.tumblr.com/> |
Instagram <http://instagram.com/wihel.de> | Google+
<https://plus.google.com/+WihelDe>
<https://plus.google.com/b/102990488150293674446/>
2017-03-05 23:09 GMT+01:00 Matthias Pfefferle <notifications@github.com>:
can we close this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGutJTGTVNJb4Cxw0onDgOPx02VFZVNrks5rizKBgaJpZM4L3J-O>
.
|
Hey guys,
I discovered webmentions a few weeks ago and implemented it succesfully on my site. But I also wanted a little backward compability for those, who are not using webmentions and are working with pingbacks. For this case I implemented also the webmention.io-fallback (and tested a lot with pingen from one of my posts to another one of my posts)
While that I noticed, that the self-pings are only working when I clear the whole cache of my site.
For better understanding: I'm using Wordpress on a nginx-server and the redis cache sits in front of the site. So when a visitor comes, a check is running if the whole html of the targeted site is in the redis cache. If yes, its presented - if not, the user is forwarded to the worpress-site.
I'm not a developer, but was wondering, why with the deactivated plugin the normal pingbacks are working with the cache - and with the activated webmention-plugin the pingbacks are not working.
Can anyone explain this behaviour or help with my problem?
The text was updated successfully, but these errors were encountered: