Jan's local community (100 miles):
View more posts on the website
WordPress has a lot of directories which you might need. And a lot of functions to get those directories. I myself often doubt which function returns what. Ans if it has a trailing slash or not. so here is an overview. I’ve also put all these functions in this small plugin: URL-overview plugin I’m assuming … Continue reading “WordPress overview”
The main thing is to just use sudo apt list PACKAGE_NAMEIt will show the full package name, which should include the version number. The syntax will differ, nginx will plainly show 1.18.0 but php is a less readable. But it’s 8.1 in this screenshot. On this server both php and nginx are installed. In red … Continue reading “Preview installable versions with apt”
The following command will create a full backup in a tar file.The main reason I’m adding it here is because I want a exhaustive and growing list of excludes. Run this above the public_html. This way the backup won’t be publicly available. Importing the Dump. The unzip command: Now change the DB settings in the … Continue reading “Create full site Zip Backup”