WordPress.org

Support

Support » Plugins and Hacks » YOURLS Link Creator » [Resolved] Generating YOURLS links for old posts

[Resolved] Generating YOURLS links for old posts

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem and also created a support question – however, there is no answer until now.

    O solved this problem using bulk edit option in WordPress, just select lot of posts (of all posts of the page), click to buck edit and save.

    It take a while to be done and can issue a timeout if you select too much posts, but it does not try to create shorelines for posts that already have it and take faster if you finish the work selecting same list of posts.

    I made it setting up 100 posts per page doing it 8 times for a blog with 750 posts.

    To buck = to bulk
    Shorelines = shortlinks

    *posting from a mobile device with auto check spelling xD

    Thank you for your information.

    Unfortunately the plugin author hasn’t responded to this issue. Because I also had it. But with thousands of old posts, I had no intention of trying to edit all of them just to generate YOURLS URLs. So instead I removed the plugin and YOURLS and went with another option.

    I wish this had worked–and I wish the developer had taken notice and care–since I had a dedicated domain for YOURLS and spent a great deal of time modifying my theme to support the plugin where and when I needed it.

    @xenogere.. didnt you think about creating a function that fetches all posts, and then:
    foreach posts as post
    if the post has the yourl_short_link meta property.. then skip
    else use the api to create a shortlink (with curl, or whatever)

    then hook that function to admin-ajax and call it using a rest client

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Generating YOURLS links for old posts’ is closed to new replies.
Skip to toolbar