This site contains different domain knowledge so if I can label my process documentation it will make it easier for others to find. Then I find out Stack Overflow, the largest question and answer site for IT professionals, provide Data Explorer to get all the Tags used on Stack Overflow.
Below are the steps to import these tags into own WordPress:
If you use CloudFlare or similar service, turn it off first. Otherwise, it will cause Error 524 (A timeout occurred)
Change the php_value max_execution_time to a longer number since it cause few hours to import 50000 tags, for me I set it to 6 hours (6 hours * 60 * 60 = 21600 sec ). Edit .htaccess in the project and append this line
max_execution_time = 21600
Go to WordPress -> Tools -> Import -> WordPress Run Importer. Make sure the maximum size above 3.72 MB. If you haven’t edit .htaccess in the project youcan append this line. 10M would be enough.
php_value upload_max_filesize = 10M
Import it, the page will keep refresh util it’s done.