Support » Plugin: WP to Twitter » What option do I choose for YOURL shortening?

  • Resolved Dawa1



    I am using your plugin, and it looks like it is posting, but I have two problems fully utilizing it. The first one is with the YOURL shortening. It works on my blog, and I am using the YOURL plugin by OZH to show urls in posts and such. However, when I tested it by making a new post, it did not work with the shortener, even though I have the API information and verified the password. It gives me the message that it was not able to shorten using my shortener.

    I tried using the three options with YOURL in your plugin, but I can not get it to work by posting the short links.

    I have YOURLS on since I have a WordPress install on my and I have WordPress MultiSite on
    I also have a plugin for YOURLS to make the short urls like, so it adds letters to the end like so, mysite/this-directory/d8ty1s

    I would greatly appreciate help with this, as it’s one of those moments where I feel like my brain will jump out of my head.


Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joe Dolson


    WP to Twitter interacts with the stand-alone installation of Yourls; it doesn’t have any awareness of the Yourls plug-in in WordPress; so that plug-in won’t have any bearing on what WP to Twitter does.

    It sounds like you have the plug-in installed on your local directory, so you’ll need to use that information.

    There are only 2 options for setting up YOURLS in WP to Twitter, so I’m not sure where you’re coming up with three?

    I will give it a try for the local directory as well, for some reason I was having issues with a different plugin so I just used the remote API on both. I’ll try the local directory.

    As for the options, I meant these;

    • Post ID for YOURLS url slug.
    • Custom keyword for YOURLS url slug.
    • Default: sequential URL numbering.
    Plugin Author Joe Dolson


    I see; you’re talking about the set up what types of URL to use. If you’re using a custom plug-in in YOURLS to generate the types of URL you want, then you probably want to leave that at default. But first you need to get it configured to work at all; until then, that setting won’t really be relevant to you.

    So I’ve had a few days to play with this, and here is the weird thing.

    It still doesn’t work when I submit posts, it gives me a notification that my service is not working correctly. However, when I went to the bottom of the plugin setup page, to run the test, it sent out a tweet to my Twitter account, with a shortened link to my WordPress MultiSite install. The Tweet showed up on my page, with the short YOURL, and the feedback I got from the plugin was that the short URL worked, my server supports this, and that everything is set up…

    I tried doing another post to see if it will work, but nope, that didn’t work…

    This is the error message I see;

    The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues.

    Plugin Author Joe Dolson


    What’s your permalink format in WordPress? What settings did you end up using with YOURLS? Does it make a difference if you change those? What happens if you disable the YOURLS plug-in that makes the URLS like? I’m wondering if there’s a conflict with that YOURLS plug-in.

    I haven’t tried turning it off. I’m too scared that it might break the rest of my site :D. It’s still strange that it works with the test, and it gives me this message after running the test;

    WP to Twitter successfully contacted your selected URL shortening service. The following link should point to your blog homepage:
    WP to Twitter successfully submitted a status update to Twitter.
    Your server should run WP to Twitter successfully.

    Permalinks structure I am using is

    As of now I just left it as is. It gets the post name, and then puts the full url link in there. It misses the category and tags, I think that’s because my theme uses “ecategory” for category and “etags” for tags. So it’s unique parameters

    Plugin Author Joe Dolson


    Yes, that would be right – category and tags refers specifically to the taxonomies ‘category’ and ‘tags’, and not to other taxonomies that behave similarly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What option do I choose for YOURL shortening?’ is closed to new replies.