A JSON plugin for all Export from Wordpress #13
Rahulsingh1939
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context:
In the last pull request (PR), our WordPress-to-Joomla migration component was able to upload Posts and Pages into Joomla as Articles. However, this import process did not account for hierarchical structures (such as category nesting or parent-child page relationships). Additionally, I discovered a key issue post-merge: Articles depend on pre-existing Categories and Users for accurate author ID mapping and category assignment.
Problem Details:
Upon deeper investigation and testing, I found that:
The built-in WordPress export tool (WXR/XML) includes:
It does not export all users — only authors tied to exported content.
Subcategories reference parent IDs, but those parent categories may not be included in the export if they’re not linked to any selected post/page.
This affects:
✅ Proposed Solution:
To resolve this , I implemented the following:
Created a custom WordPress plugin that exports a Export JSON file:
Developed a dedicated Joomla import plugin that reads this JSON file and processes:
🔧 Additional Feature: Export Format Choice
Users can now have an option to choose between:
🧪 How to Test
Download all-export.zip
Download the
.json
file.In Joomla:
Install the Component and the corresponding JSON Import Plugin.
Component : Download component.zip
Json Plugin : Download json.zip
Use the new "Import from JSON" tab and select the downloaded file.
Confirm:
Looking forward to feedback on this approach.
Beta Was this translation helpful? Give feedback.
All reactions