A common mistake I come across when I’m working on WordPress themes is site urls and directory paths hard coded into template files. This is bad practice because if the site’s domain name ever changes, or if the theme is reused on another website, the urls won’t work.
Creating a copy of your WordPress website on a local server is useful for developing and testing changes to the site before they go live. It also serves as a decent backup should anything bad happen to the public site. Making an exact copy of an existing website can be tricky, though. I’ve done it for a number of client … Read More