- Client
- Australian arts media company
- Years
- 2020–2021
- Stack
- WordPress, PHP, Simple HTML DOM Parser, site crawler, ASP.NET (old site)
The task
A large Australian portal about the arts ran on ASP.NET WebForms: news, reviews, theatre and visual arts listings, more than 10,000 pages with their images. It had to move to WordPress. There was no access to the old database, so everything had to come from the public pages of the site.
What I did
- Crawled the old site with a site crawler to get the full list of its addresses. That list was the map for the import and showed which old address had to redirect where.
- Found the page templates the old site used for articles and category pages, and wrote a scraper in PHP with Simple HTML DOM Parser for each of them.
- Cleaned the markup ASP.NET left in the content and imported the articles into WordPress with their categories. Images went into the media library.
- Checked the numbers: I knew how many articles each section had, compared them with what the import pulled, and looked for the pages that did not fit any template.
- Moved those pages by hand, so nothing was left behind.
Result
All articles and their images are in WordPress with the old structure, and the client signed the move off.
Looking back
By the time it was signed off I already saw a cleaner way to build it. That is why every move I plan now starts with the full list of old addresses and the number of pages in each section, and ends with a check of what did not come through.
Have a similar task?
Tell me what is broken or what you need. I will reply with questions or a rough plan, usually within a day.
Write to me