Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create redirection on post title change #108

Open
cfenollosa opened this issue May 30, 2016 · 2 comments
Open

Create redirection on post title change #108

cfenollosa opened this issue May 30, 2016 · 2 comments
Assignees

Comments

@cfenollosa
Copy link
Owner

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 cfenollosa self-assigned this May 30, 2016
@Natfan
Copy link

Natfan commented Jul 30, 2017

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

@cfenollosa
Copy link
Owner Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants