Difference between revisions of "Export blog"

From SchoolsWiki
Jump to: navigation, search
Line 51: Line 51:
:Here's the procedure in pdf, in case you need to send it to the school.
:Here's the procedure in pdf, in case you need to send it to the school.

Revision as of 16:46, 4 December 2018

Given the fact that we are going to be discontinuing the Blog service soon, we expect lots of clients asking us to provide SFTP access, as well as creating DNS redirects. They'll typically do that in order to move their blog to another hosting provider.
Now, with regards to SFTP access, it is NOT possible to grant them access. Mainly, that's because it's a shared platform. That would constitute a risk, (e.g exposing other client's data, etc, as well as opening the system to a potential attack). Plus, that would not

grant them access to the database either, which contains the posts, pages, settings and so on.

Should they ask for their database or access to it, again we CAN NOT fulfill the request because of what's stated above.
Thankfully, none of that is necessary for them to migrate their blog. Wordpress has a feature to export posts, media and galleries. It even lets you export Slidedecks and other features provided by 3rd party plugins. The lines below explain how to import/export

a blog.

The procedure to export a blog is:

1 - In your Wordpress Dashboard, go to Tools/Export


2 - Choose either All Content or Media, Posts, Pages individually, and click on "Download Export File"


 * Bear in mind that this won't download the actual files, but a xml file with metadata.
 * You can choose specific dates, if you want to dismiss old content or if you have a large media library and the download is going to take too long to download in a single batch.

The procedure to Import the data on your new blog is

3 - On your new provider, access your new Wordpress, and go to Tools/Import and Click on "Run Importer"

4 - Choose the xml file that you downloaded earlier to your computer, and click "Upload File and Import"

5 - If the user in your scoilnet blog does not exist in your new installation, it will let you choose between creating a user or assign the posts to an existing user. Choose whatever suits you better.


6 - Mark the checkbox "Download and import file attachments" and click Submit.

After the import finishes, you should be able to display the old content in your new blog.

DNS redirection

Ideally, the school would encourage their visitors to use their new domain, but that's often not going to be the case and they will ask for dns redirections. In that scenario, we need to be aware that it's not our responsibility to make sure that the site is being displayed on the new hosting.
They might be using an SSL certificate that relies on the domain name, or the other end might be rejecting the redirect. There can be many reasons why a site is not being displayed depending on the hosting provider they are moving to. Our responsibility is creating the DNS entries they request.
Normally, it would be a CNAME for domain.scoilnet.ie, as well as www.domain.scoilnet.ie.
Here's the procedure in pdf, in case you need to send it to the school.