Ask Your Question

Ability to remove "questions" part from URL?

asked 2012-07-26 10:38:51 -0600

MehdiHKhan's avatar


I'm not sure if I'm missing anything here. Where is the option to remove "questions" part from URL?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-26 21:03:44 -0600

Evgeny's avatar

This is possible by editing askbot/ file, but removing numeric ID cannot be easily done now.

edit flag offensive delete link more


thanks. Even I want to change /questions/ to be /posts/ in my site.

Another follow on question - How do I know if there are any dependencies when I change some code in askbot? Do you use any tools for checking any dependencies? Thanks.

pajju's avatar pajju  ( 2012-07-26 23:34:39 -0600 )edit

Thank you! Removing the nemuric ID part won't be necessary. If want to host askbot in a subdomain, I'll expect that it will start right from there, not in (virtual) question subfolder. Why is this default behavior? To fit with other django app perhaps?

MehdiHKhan's avatar MehdiHKhan  ( 2012-07-27 04:04:26 -0600 )edit

@MehdiHKhan even in sub domans you get routed to /questions. This is to show all the questions in the homepage. @Evgeny can we show and change this default behavior? Thanks

pajju's avatar pajju  ( 2012-07-27 13:57:05 -0600 )edit

I agree, the /questions prefix is unnecessary on the main page it should be just /.

Evgeny's avatar Evgeny  ( 2012-07-27 16:58:49 -0600 )edit

@Evgeny So can I simply remove "questions" from askbot/ and that will not cause errors?

Toms's avatar Toms  ( 2012-07-28 14:44:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-07-26 10:38:51 -0600

Seen: 231 times

Last updated: Jul 26 '12