Category: Wordpress

HowTos
Alex

Move WordPress site to new Hosting Step by Step

How to Backup  Login to the original WordPress site and Install UpdraftPlus Plugin  Go to UpdraftPlus -> Backup / Restore Click the backup button to start backup process. Make sure check everything and click backup now Wait for the backup complete Download everything. How to Restore After backup completed, you can edit the DNS points to the

Read More »
Datacenter
HowTos
Alex

Host WordPress on Google Cloud Platform

Google Cloud Platform Sign in Create a new VM under Compute Engine I’ve use ubuntu 18.04 LTS and HDD size of 20GB HDD Size Install Google Cloud SDK https://cloud.google.com/sdk/Choose your platform version Config your new instance First thing first $ sudo apt-get update $ sudo apt-get upgrade -y Install Swap $ sudo fallocate -l 1G

Read More »
container
Design
Alex

How to use docker for WordPress development

1. Use wordpress:latest to create ssl version of wordpress container Create Dockerfile file FROM wordpress:latest RUN apt-get update && \ apt-get install -y –no-install-recommends ssl-cert && \ rm -r /var/lib/apt/lists/* && \ a2enmod ssl && \ a2ensite default-ssl EXPOSE 80 EXPOSE 443 run $ docker build -t ssl_wordpress:1.0 . 2. Create the folder structure 3.

Read More »
Tips
Alex

How to save storage space for your web site

我有個網站只是運行了4 個月,最近在做 backup 時發現個 backup file 成 2GB 大,個網站最主要是放相用,發現把所有相 upload 上網站 D 相佔用儲存空間很大。 做 backup 或搬家時可能會比較麻煩!一直以來我都用 Google Photos 把我所有在 iPhone, iPad 影的相都全部 upload 上 Google server, 那可不可以直接 link 過去 Google Photos 呢? 直接用 Google Photos 弄出來的 share link 原來不可以直接用在 img 的 src, 要靠 third-party 的 services. 到目前為止我發現了這 2 個 site 1. https://ctrlq.org/google/photos/ 2. https://app.bytenbit.com/

Read More »
speed limit
Tips
Alex

How to increase WordPress Upload File size limit

The easiest way is to add the following code into your theme function.php file. add the following lines [php] @ini_set(‘upload_max_size’,’128M’); @ini_set(‘post_max_size’,’128M’); @ini_set(‘max_execution_time’,’300′); [/php] If your hosting allow, you can edit the php.ini file add the following lines [php] upload_max_filesize=128M post_max_size=128M max_execution_time=300 [/php] Or editing the .htaccess file on your hosting root directory add the following

Read More »
search archive
Server
Alex

How to move WordPress to new hosting server

It turns out was very easy, login to your WordPress site and downloads a plugin call All-in-One WP Migration, activate it. And then go to its setting page, and choose export, I choose to export to file, then the plugin will put together a downloadable file ready for you to download. Make sure you download

Read More »
Scroll to Top