WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
Shortlink Support for Wordbooker (7 posts)

  1. Andyt8
    Member
    Posted 10 months ago #

    Hello,

    I use WordPress and of course Wordbooker in the most newest version. Both work good togehter. However, sometimes I need to change the permalink url after some times. In this case, the old link shared to Facebook will response to an error message.

    Therefore my question: why Wordbooker don't use the WordPress shortlink function?

    I know, I read the shortlink function with YOURLS Addon. I tried it, but Wordbooker use for three tests two times the permalink and one time the shortlink. The YOURLS Addon isn't under maintence anymore and there are some bugs in it.

    So it would be nice to get the WordPress shortlink function, which use http://domain.xxx/p?=1234 schema.

    regards, Andyt

    http://wordpress.org/plugins/wordbooker/

  2. Steve
    Member
    Plugin Author

    Posted 10 months ago #

    I wrote a long reply but it got lost.

    Changing post URLs after being published is not really recommended.

    I can code in an option to use the non permalink versions of post URLs when you post - but its not going to be there for a couple of weeks.

  3. Steve
    Member
    Plugin Author

    Posted 10 months ago #

    Do you use JetPack? I can easily code in support to use the JetPack short links (provided by wordpress.me)

  4. Andyt8
    Member
    Posted 9 months ago #

    Thank you for your two answers and sorry for my late answer.

    I don't use JetPack. I tried two plugins which translated the integrated wordpress shorturl function from http://domain.xxx/p?=1234 to YOURLS shortlink and BITLY shortlink. Both look interessting. YOURLS is used on http://www.blackseals.net. On http://blog.blackseals.net I use only wordpress shortlink.

    However, it would be nice if Wordbooker whould use in Facebook as link the <?php the_shortlink(); ?> function to generate the link and not the permalink.

    Why is changing post urls after being published a problem?

    best regards, Andyt

  5. Steve
    Member
    Plugin Author

    Posted 9 months ago #

    Wordbooker uses the permalink function because most blogs don't use the /?p=1234 sort of post urls

    I'd have to use wp_get_shortlink() anyway as that returns the short url rather than displaying it - but if you've got your permalink settings set to default (i.e. the p? format) then Wordbooker uses those. But I guess you want complicated permalinks for your posts but the short ones on Facebook

    Wordbooker will now return wp.me short links if you've enabled the short links module in jetpack, and I could look at coding in an option to force Wordbooker to only use the p? style links.

    Changing post urls after publishing doesn't help things like Search Engine ranking - for specifically the reason that you've pointed out : 404s are bad

  6. Steve
    Member
    Plugin Author

    Posted 9 months ago #

    Actually even wp_get_shortlink() is over-ridden by things like JetPack - so I'm coding round it.

    Should have a version ready for testing this evening UK time.

  7. Andyt8
    Member
    Posted 9 months ago #

    Thank you for your answer and changes to Wordbooker.

Reply

You must log in to post.

About this Plugin

About this Topic