From YOURLS to WP to Twitter
-
Hello,
I used to work with the plugin YOURLS to Twitter, which did three things when publishing a post:
- Shorten the url with YOURLS
- Insert the short url as
<link rel='shortlink' href="https://short.url"/>
in the html-head - post it to twitter
Unfortunately 3. was removed by the author of the plugin, which made in useless for me.
So I looked for other plugin and found this great plugin WP to Twitter, which even supports YOURLS.
But it seems it only supports the shortener itself and does not insert the
rel='shortlink'
into the post. YOURLS to twitter used the custom field yourls_shorturl to store the shortlink in the post-data.But I just made a test and installed both plugins (WP to Twitter and the new YOURLS-Plugin without Twitter-Option). The result was, that after publishing a post, there were two entries for the same URL in the YOURLS-database with to different short-urls. Normally it is not possible to enter the same url twice in YOURLS, but it seems, the access of the two plugin was nearly at the same time and YOURLS was not able to block the double-entry.
So my question is: How can I use WP to Twitter and place the short url in the head of my html-code?
Greetings
Gero
- The topic ‘From YOURLS to WP to Twitter’ is closed to new replies.