Ask Your Question

Ability to remove "questions" part from URL?

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

MehdiHKhan gravatar image


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 gravatar image

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 gravatar imagepajju ( 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 gravatar imageMehdiHKhan ( 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 gravatar imagepajju ( 2012-07-27 13:57:05 -0600 )edit

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

Evgeny gravatar imageEvgeny ( 2012-07-27 16:58:49 -0600 )edit

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

Toms gravatar imageToms ( 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: 124 times

Last updated: Jul 26 '12