Ask Your Question
1

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

asked 2011-06-14 17:34:17 -0500

Tomasz P. Szynalski gravatar image

updated 2011-06-15 03:40:28 -0500

Evgeny gravatar image

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?

edit retag flag offensive close merge delete

Comments

I will be offline for an hour or so...
Evgeny gravatar imageEvgeny ( 2011-06-14 17:36:27 -0500 )edit
this url is done - in the github repo.
Evgeny gravatar imageEvgeny ( 2011-06-15 03:41:07 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-06-14 17:35:36 -0500

Evgeny gravatar image

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

edit flag offensive delete link more

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 gravatar imageTomasz P. Szynalski ( 2011-06-14 17:52:44 -0500 )edit
0

answered 2011-06-14 17:51:52 -0500

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

edit flag offensive delete link more

Comments

Yep. That's why I'm asking this question. :)
Tomasz P. Szynalski gravatar imageTomasz 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 gravatar imageEvgeny ( 2011-06-15 03:40:03 -0500 )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

Stats

Asked: 2011-06-14 17:34:17 -0500

Seen: 168 times

Last updated: Jun 14 '11