John Siu Blog

Tech - Business Tool, Personal Toys

redirect

If you migrate from wordpress or ghost.

Some Caddy v2 Caddyfile examples.

Use Hugo front matter aliases to handle migration from other platform such as Ghost or WordPress.

Use Hugo static section to handle migration from other platform such as Ghost or WordPress.

Nginx Config

2022-05-12

Some quick nginx config.

Seems URL rewrite/redirect is a never ending story.

I used to use the Date and Name permalink structure for my blog.

The latest WordPress Jetpack (4.3.1) is using <your-site>/wp-json/whatever/ for its api callback to the web server. It is an issue for web server not supporting .htaccess, and Lighttpd is one of them.