YOURLS Link Creator
[resolved] Generating YOURLS links for old posts (7 posts)

  1. IvanCarlos
    Posted 2 years ago #


    I installed the plugin and noticed that they only generate links when we save the post.

    How can U force/refresh my old posts to generate YOURLS links for them?

    Thanks a lot


  2. Andyt8
    Posted 2 years ago #

    I have the same problem and also created a support question - however, there is no answer until now.

  3. IvanCarlos
    Posted 2 years ago #

    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.

  4. IvanCarlos
    Posted 2 years ago #

    To buck = to bulk
    Shorelines = shortlinks

    *posting from a mobile device with auto check spelling xD

  5. Andyt8
    Posted 2 years ago #

    Thank you for your information.

  6. xenogere
    Posted 2 years ago #

    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.

  7. juanvillegas
    Posted 2 years ago #

    @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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • YOURLS Link Creator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.