Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts

Wednesday, March 25, 2009

XML Sitemap Generator for WordPress: Error loading stylesheet

XML Sitemap Generator for WordPress is a great WordPress plugin for generating XML sitemap. However, recent update of the plugin caused an error in viewing the XML file via Web browser.


Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:

To fix it, add


AddType application/xml .xsl

to the .htaccess file.

Friday, April 25, 2008

How to backup WordPress data

Backup is a process of duplicating data, so that it could be used to restore the original after a data loss event. This tutorial will show how to backup your WordPress posts, pages, comments, custom fields, categories, and tags easily, using WordPress eXtended RSS (WXR).

To backup:

Step 1: Login to your WordPress Control Panel.
Step 2: Click on Manage.
Step 3: Click on Export
Step 4: Click on "Download Export File" button.



You will download the WXR file, for example "wordpress.2008-04-24.xml". 2008-04-24 is the date of the WXR file downloading.

To restore:


Step 1: Login to your WordPress Control Panel.
Step 2: Click on Manage.
Step 3: Click on import.
Step 4: Scroll down to the end of the Import list.
Step 5: Click on Wordpress.
Step 6: Click on the Browse button, and choose the WXR file.
Step 7: Specify the author. Click on "Download and import file attachments", if necessary.
Step 8: Click on the Submit button.

note: The maximum WXR size that can be imported, may vary, depends on the PHP settings.