XF 1.1 xenforo import


Hi, i am moving my forum to a new domain,

my current xenforo is v1.1.3 (forum.domainA.com)

i'd like to move to (community.domainB.com)

1) how can i import?
2) what should be my htaccess file that redirect anything to the new domain (eg; forum.domainA.com/thread11X.html to community.domainB.com/thread11X.html ) will the import literally will get everything the same (eg; forum.domainA.com/threads/welcome.11744/ will be community.domainB.com/threads/welcome.11744/ ?)