Ask Your Question
2

Ability to remove "questions" part from URL?

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

MehdiHKhan gravatar image MehdiHKhan flag of Bangladesh
83 1 7

Hello,

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

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

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

link publish delete flag offensive edit

Comments

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 ( 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 ( 2012-07-27 04:04:26 -0500 )edit
1

@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 ( 2012-07-27 13:57:05 -0500 )edit

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

Evgeny ( 2012-07-27 16:58:49 -0500 )edit

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

Toms ( 2012-07-28 14:44:45 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

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

Seen: 36 times

Last updated: Jul 26 '12