Skip to content

Added url suffix option #102

Open
wants to merge 10 commits into from

2 participants

@shameerc

When I tried to port my wordpress blog to toto, the url format became a problem for me, where all my urls ended with .html and toto (as I believed) didn't support custom urls. So I changed the path in such a way that it can have any extensions
#note
Added additional property for url suffix in config class.

@ixti
ixti commented Oct 31, 2011

why not use 301 redirections instead?

@shameerc

ofcourse that will do. what I sould suggest is to have bit more flexible url, to support the url scheme of user's choice. Does that make sense ?

@ixti
ixti commented Oct 31, 2011

I agree, flexible url scheme is a good idea.

@shameerc

I was thinking of adding the whole url pattern in config instead of just parts of it, so that we can have url of any kind and other blogs can be ported to toto without any problem.

@ixti
ixti commented Oct 31, 2011

yes. I believe it should be possible to allow specify segments like /:year/:month/:day/:slug.html
the only problem in "moving" from other blogging software is that basically each post in toto is identified exactly by date and slug, so you don't have as much falexibility as you might want to have :))

@shameerc

I see. In my case the url scheme was /:year/:month/:slug.html and I made it possible by just changing the file name :). anyway I should appreciate the way it is now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.