=== jekcms Migrator ===
Contributors: jekcms
Tags: migration, export, migrate, content export, site transfer
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Export your WordPress content into a single file and import it into jekcms — no database credentials, no server-to-server connection.

== Description ==

jekcms Migrator packs everything a jekcms site needs into one .zip file:

* Posts, pages and drafts (drafts stay drafts)
* Categories and tags, with the category hierarchy intact
* Authors, including bios and social profiles
* Approved comments (spam and pending comments are left out)
* Navigation menus
* Media files, optionally bundled inside the package
* SEO titles and descriptions from Yoast SEO, Rank Math or All in One SEO
* A redirect map from your old URLs to the new ones, so search results keep working

You then upload that file either in the jekcms setup wizard ("Import a WordPress package") or, on a site that is already running, in Admin panel → Import → WordPress package.

**Why a file instead of a database connection?** Most hosting plans do not allow one server to reach another server's MySQL. A file works everywhere, and you never have to hand out database credentials.

**Large sites.** The export runs in batches and saves its progress after each round, so sites with thousands of posts finish without hitting PHP time limits.

**This plugin only reads.** It never writes to, changes or deletes your WordPress content.

**No external services.** The plugin makes no outbound connections: nothing is sent to jekcms.com or anywhere else. The package it builds stays on your own server until you download it, and it is deleted when you deactivate the plugin.

jekcms is a commercial blog CMS, but this plugin is free and works on its own — the file it produces is plain JSON Lines inside a ZIP, so you can inspect or reuse it however you like.

== Installation ==

1. Install the plugin from Plugins → Add New, or upload the .zip via Plugins → Add New → Upload Plugin, then activate it.
2. Open the **jekcms** entry in the left-hand menu.
3. Pick your options and press **Start export**.
4. When it finishes, download the package.
5. Upload that file in the jekcms setup wizard, or in an existing jekcms site under Admin panel → Import → WordPress package.

You can deactivate and delete the plugin once the migration is done; it leaves nothing behind.

== Frequently Asked Questions ==

= Do I need to keep my WordPress site online? =

Only if you export without media files. In that case jekcms downloads the images from your existing site address, so it has to stay reachable until the import is finished. With media bundled in the package, you can take WordPress offline right away.

= The package is too large to upload =

Turn off "Include media files in the package" and export again. jekcms will then fetch the images from your old site. Alternatively, raise `upload_max_filesize` and `post_max_size` in your hosting panel.

= Will my Google rankings survive? =

The package contains a redirect map from every published post's old URL to its new one. jekcms installs those as 301 redirects during the import, which is what search engines expect after a move.

= Does it export custom post types? =

Version 1.0 exports posts and pages. Custom post types are not included.

= Where does the export file live on my server? =

In `wp-content/uploads/jekcms-export/`, in a folder that is closed to direct web access. The download runs through an authenticated admin endpoint, and deactivating the plugin deletes the folder.

= Who can run the export? =

Only users with the `export` capability — by default administrators (and, on single-site installs, nobody else).

== Changelog ==

= 1.0.3 =
* The plugin package no longer ships directory assets (the icon images) or translation files. Icons belong in the WordPress.org assets directory, and translations come from translate.wordpress.org. The admin screen now draws its mark inline, so nothing looks different.

= 1.0.2 =
* Translations are loaded without the function WordPress has discouraged since 4.6, so the plugin passes Plugin Check cleanly. The bundled Turkish translation still loads on every supported WordPress version.
* The All in One SEO lookup no longer builds its table name in a variable, which a static check could not verify as safe.
* The version number is now the same in the plugin header, the code and this file. It had drifted, so exported files were stamped with an older version than the one running.

= 1.0.1 =
* SEO fields from All in One SEO 4 and newer are now exported. Version 4 moved this data out of post meta into its own table, so nothing was picked up from those sites before.
* Rank Math's "no index" setting is now carried across. Rank Math stores it as a list rather than a single value, which the previous check missed.

= 1.0.0 =
* First release: batch export of posts, pages, terms, authors, comments, menus and media, with SEO fields and a redirect map.

== Upgrade Notice ==

= 1.0.3 =
Packaging only: no change to what is exported.

= 1.0.2 =
Housekeeping only: no change to what is exported.

= 1.0.1 =
Recommended if your site uses All in One SEO 4 or Rank Math — their SEO fields are now included in the export.

= 1.0.0 =
First release.
