Adding old posts to a new subdomain on multisite

Hello

I've recently transformed a single wordpress install to multisite

mysite.com/2012/10/05/love-songs/ is currently active. All outside links to it work fine.

I've created the subdomain
music.mysite.com and used the wordpress importer plugin ( http://wordpress.org/extend/plugins/wordpress-importer) to COPY my posts from the music category there.

So now I have two duplicate posts
mysite.com/2012/10/05/love-songs/
music.mysite.com/2012/10/05/love-songs/ (in maintenance mode)

So do I have to now cancel all the posts from my original music category on the main site? After which, ... will all the links to posts then automatically redirect to the new subdomain?

Thanks

Another question
P.S. Any solution to getting thumbnails and media files on the correct place on the subdomain?

  • Timothy Bowers
    • Chief Pigeon

    will all the links to posts then automatically redirect to the new subdomain?

    It's not automatic, you would have to look at doing some 301 on those links to redirect or just letting Google an other search engines re-index like they would normally.

    There are plugins which could help you:

    http://wordpress.org/extend/plugins/redirection/screenshots/

    http://wordpress.org/extend/plugins/simple-301-redirects/screenshots/

    P.S. Any solution to getting thumbnails and media files on the correct place on the subdomain?

    Not sure how you mean here?

    Could you elaborate further please?

    Take care.

  • Timothy Bowers
    • Chief Pigeon

    I have a similiar problem. Only thing is I am not transferring to a new wordpress installation. I am moving files / thumbnails to a subdomain in a new multisite installation

    It's kind of the same difference.

    Whether you're moving to a new site or a sub domain, the content is moving.

    If you're still having issues did you follow the suggestions in that thread?

    Thanks.

  • Bermuda Stream
    • Site Builder, Child of Zeus

    http://wordpress.org/support/topic/import-post-thumbnails

    suggests

    1. Upload (FTP) the images/folders from Localhost wp-contents/uploads to the site's wp-contents/uploads

    I am changing categories to seperate sites so each subdomain has its own file directory e.g music.mysite.com/public_html/wp-content/blogs.dir/2/files/2012

    My original site e.g mysite.com/public_html/wp-content/uploads/2012/01 is organized by year and month. I don't hink it is possible to find thumbnails only related to the music category. So what would I have to do? Upload ALL content to each individual blòg directory?

    2. - Localhost: Tools>Export everything into an XML file
    - Edit the XML file, Search/Replacing the Localhost part of the attachment_URL with my real site's URL

    Below is what I see in the XML file. If this is the correct part what would I change?

    <channel>
    <title>My Site</title>
    <link>http://mysite.com</link>
    <description>multimedia collection - Video, Audio, Photo & more ...</description>
    <pubDate>Thu, 11 Oct 2012 21:26:07 +0000</pubDate>
    <language>en-US</language>
    <wp:wxr_version>1.2</wp:wxr_version>
    <wp:base_site_url>http://mysite.com</wp:base_site_url>
    <wp:base_blog_url>http://mysite.com</wp:base_blog_url>

    Thanks
    M.

  • Timothy Bowers
    • Chief Pigeon

    Hey again.

    Sorry about the delay. Not sure why this one was missed, it might have been when my mactop was in for repair.

    1. In a multisite each site doesn't really have it's own directory except for the media. All media is stored in:

    /wp-content/blogs.dir/

    Then by site ID, and year, you can follow the structure there. This is similar to what you see for the original site in /wp-content/uploads/

    It's not so straight forward as you've found.

    2.Using that export will allow you to import it on another site.

    Have you tried?

    Thanks.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.