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

Added url suffix option #102

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Added url suffix option #102

wants to merge 10 commits into from

Conversation

shameerc
Copy link

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
Copy link

ixti commented Oct 31, 2011

why not use 301 redirections instead?

@shameerc
Copy link
Author

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
Copy link

ixti commented Oct 31, 2011

I agree, flexible url scheme is a good idea.

@shameerc
Copy link
Author

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
Copy link

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
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants