Tagged: cloudflare

Can not login due to “Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.” in WordPress multisite

Problem: try to log in a subdomain WordPress multisite website and receive below error message:

ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

Solution: install Setup WordPress Multisite Domain Mapping

and in case you are using Cloudflare, try to add a page rule in Page Rules page:


Disable Security : Security is disabled
Browser Integrity Check : Off

ref: https://wordpress.stackexchange.com/a/331995, https://enterpr1se.info/2014/07/how-to-speed-up-wordpress/7/

Import 50000 tags used on Stack Overflow to WordPress

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)
  • Turn the tags list into XML format, you don’t have to add wp:term_id and wp:tag_slug . The result will be like this
<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/"xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.2/">
  • 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.
  • Import is done, add a post and select tags.


I fix the “Sorry, this file type is not permitted for security reasons” issue when I trying to upload the Stackoverflow tags file so you don’t need to do the formatting and can import all the tags. A lazy way for you guys 🙂

You can run the CSV Importer and the CSV file then you are good to go