We are using SP2013 standard on-premise. There are 2 existing site collection. Both are built with team site template with publishing infrastructure enabled. The URLs are:
http://sharepoint.com/sites/Asite/
http://sharepoint.com/sites/Bsite/
I need to move Asite under Bsite like http://sharepoint.com/sites/Bsite/Asite/
. So I export Asite with Export-SPWeb. Then create a blank subsite using publishing site template as http://sharepoint.com/sites/Bsite/Asite/
. Finally I use Import-SPWeb to import towards http://sharepoint.com/sites/Bsite/Asite/
But it returns error:
Import-SPWeb : Cannot import site. The exported site is based on the template STS#0 but the destination site is based on the template CMSPUBLISHING#0. You can import sites only into sites that are based on same template as the exported site.
May I know how to work around it?