Category: Blog

Home / Archive by Category Blog

We manage some servers where we needed to limit outgoing bandwidth to 500mbps. The servers are used for streaming video content so we decided to limit the outgoing traffic on port 80 and port 443. We used the following bash script based on traffic control shapping (tc). #!/bin/bash TC=/sbin/tc IF=eth0 # Interface U32=”$TC filter add […]

Read More

Recently we needed to change a multisite main domain for a large website. We concluded that we need to change code in 5 places as follow: wp_options table and wp_#_options tables: options named “siteurl” and “home” ; wp_site table ; wp_sitemeta: the option named “siteurl” ; wp_blogs: any entries in the “domains” column that have […]

Read More