Prettyscripts

WordPress: Globally update URL

In WordPress, instead of using relative URL when referring to posts, pages and images used within the site, absolute url is used. This becomes a problem if your development site and production sites are different. All links and images in contents are still referencing the development site even though the site has moved to production. This…

Continue Reading »

WordPress: Change URL

When deploying a site (and database) from development to production, when going to the production the site goes back to development. That’s because in WordPress, site URL is defined and saved in database by default. According to the official document, there are several ways to change URL.