Plugin Author
Steve
(@steveatty)
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.
Plugin Author
Steve
(@steveatty)
Do you use JetPack? I can easily code in support to use the JetPack short links (provided by wordpress.me)
Thread Starter
Andyt8
(@andyt8)
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
Plugin Author
Steve
(@steveatty)
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
Plugin Author
Steve
(@steveatty)
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.
Thread Starter
Andyt8
(@andyt8)
Thank you for your answer and changes to Wordbooker.