First time here? Check out the FAQ!
1

If I import data from StackExchange, will my original URLs work?

My StackExchange site has URLs that look like this:

http://ask.antimoon.com/questions/2188/fake-english-words-in-your-language

If I install Askbot at ask.antimoon.com and import the SE dump, will these URLs point to the correct question pages?

If not, can it be done easily?

Evgeny's avatar
13.2k
Evgeny
updated 2011-06-15 03:40:28 -0500
Tomasz P. Szynalski's avatar
179
Tomasz P. Szynalski
asked 2011-06-14 17:34:17 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I will be offline for an hour or so...
Evgeny's avatar Evgeny (2011-06-14 17:36:27 -0500) edit
this url is done - in the github repo.
Evgeny's avatar Evgeny (2011-06-15 03:41:07 -0500) edit
add a comment see more comments

2 Answers

0

Most of them are the same, but can be made identical, if not. Do you have a deadline to move off SE?

Evgeny's avatar
13.2k
Evgeny
answered 2011-06-14 17:35:36 -0500
edit flag offensive 0 remove flag delete link

Comments

I've still got over 3 weeks. Not sure I understand your answer, Evgeny. I noticed the URLs look a bit different on Askbot.org. Does the URL format I pasted above work "out of the box" or do I have to effect some magic with mod_rewrite or something like that?
Tomasz P. Szynalski's avatar Tomasz P. Szynalski (2011-06-14 17:52:44 -0500) edit
add a comment see more comments
0

There might be problems in the url:

Compare this url

http://askbot.org/en/question/454/if-i-import-data-from-stackexchange-will-my

to

http://ask.antimoon.com/questions/2188/fake-english-words-in-your-language

Please notice the stackexchange is using questions, and there is no en in the url

DealsVistaCom's avatar
137
DealsVistaCom
answered 2011-06-14 17:51:52 -0500
edit flag offensive 0 remove flag delete link

Comments

Yep. That's why I'm asking this question. :)
Tomasz P. Szynalski's avatar Tomasz P. Szynalski (2011-06-14 17:53:13 -0500) edit
the /en/ part is specific to this site only, but I added a setting to the settings.py ASKBOT_USE_STACKEXCHANGE_URLS - so far it just enables the /questions/<id>/slug url, if anything else needs to be adjusted - please let me know.
Evgeny's avatar Evgeny (2011-06-15 03:40:03 -0500) edit
add a comment see more comments