bashblog icon indicating copy to clipboard operation
bashblog copied to clipboard

Create redirection on post title change

Open cfenollosa opened this issue 8 years ago • 2 comments

When a published blogpost is edited via ./bb.sh edit and the title is changed, the post URL, which was associated with the old title, is lost.

Bashblog should ask the user if they would like to create a redirection, then create a simple HTML file with both a javascript redirection to the new URL and a link for those who have Javascript disabled.

Another trivial option is to add an .htaccess entry, however that is httpd-dependent and other httpd servers may ignore it. Since bashblog is platform agnostic, the best option, even if not 100% transparent, is the javascript+link redirection.

cfenollosa avatar May 30 '16 07:05 cfenollosa

Just to add, #128 is sort of relevant to this.

Natfan avatar Jul 30 '17 06:07 Natfan

Yes, thanks. This issue deals with problems generated inside bashblog, while #128 deals with external files. I've closed #128 but I'll leave this one open and think if it is worth dealing with this one (probably with softlinks)

cfenollosa avatar Jul 31 '17 10:07 cfenollosa