First time here? Check out the FAQ!

Ability to remove "questions" part from URL?


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

MehdiHKhan's avatar
asked 2012-07-26 10:38:51 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


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

Evgeny's avatar
answered 2012-07-26 21:03:44 -0500
edit flag offensive 0 remove flag delete link


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 -0500) 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 -0500) 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 -0500) 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 -0500) 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 -0500) edit
add a comment see more comments