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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago
Tomasz P. Szynalski's avatar
179
Tomasz P. Szynalski
asked 13 years ago

Comments

I will be offline for an hour or so...
Evgeny's avatar Evgeny (13 years ago)
this url is done - in the github repo.
Evgeny's avatar Evgeny (13 years ago)
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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
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 (13 years ago)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
DealsVistaCom's avatar
137
DealsVistaCom
answered 13 years ago
link

Comments

Yep. That's why I'm asking this question. :)
Tomasz P. Szynalski's avatar Tomasz P. Szynalski (13 years ago)
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 (13 years ago)
see more comments