I use composer to manage all dependencies related to a WP site (WP core, plugins, mu-plugins, and themes).
I made a starter project that shows how it works: https://github.com/webdeveric/wp-starter.
I use something similar to this at work, where we use Jenkins and github hooks for deployments.
In my use case, I disable auto updates due to the load balanced environment.
I've had a user click the upgrade button before and the app servers became out of sync.
To update plugins I just run composer update like I would with any PHP app.
In this scenario, you'd have nginx serving content and when it encountered a request for /blog, it would ask another server (or virtual host) to handle it then send back the response.
Depending on file permissions and server configuration, a malicious script could do some damage to the files on your site.
It is possible to move your blog to another server and keep the URL, if you have a proxy in front of your site that directs traffic to the other server for /blog requests.
A simpler solution is to redirect /blog to blog.example.com.
When I used them, I had a dedicated machine where I had full root access. I did not have managed hosting so I did the updates to the OS (if needed).
I think the uptime was never an issue. Once or twice they had an issue with a router and things were inaccessible for a bit, but it was quickly fixed and the account was pro-rated for the downtime.
Pricing was okay, not great, but not a rip-off. I have no idea what other offerings they have or what their pricing is today. Its been a couple years since I used them.
Since you're looking for shared hosting, there are many hosting providers that handle that. If you shop around, you'll probably find one that works well with WordPress.
Many, if not all, of my sites at the time were using WordPress. I handled all the updates for those sites myself.
If you're looking for a fully managed shared server AND managed WP updates, you'll probably want find a host that offers managed WordPress hosting.
I'd stay away from WP Engine if you need PHP 5.4+. The last time I checked, they were still on PHP 5.3 with no time line for when they would update.
Yes, at my last job we used Hostway.
We switched from them to Singlehop which, at the time, had better servers for less money. We were using dedicated servers so your needs might not be the same as mine were.
Last year at work I made a plugin that fetched remote content from one of our servers and I used the WP http api functions to fetch the content. It was easier than rolling my own function to do the same thing.
To help with development, I made a plugin that logs all requests that are made with the wp http api functions.
WP internally uses these functions so I ended up logging all theme/plugin update checks and wp cron requests.
Its interesting to see all the data that gets sent to WP when checking for updates.
Its on my github if anyone wants to log requests while developing their own plugins.
HTTP API Debug
I have a list of a dozen plugin ideas that I've been working on when I have the time.
One of them that I think may be great for administrators is client certificate based multi factor authentication.
If you really wanted to lock down your admin accounts, you could also use something like Google Authenticator.
Then, for admin access, you'll need a username & password, verification code, and possess a certificate.
It would be nice if web hosting companies would upgrade their PHP so we can take advantage of closures, generators, try/catch/finally, better performance (opcache), traits, password hashing api, etc.
If I release a plugin in the WP repo, I usually go with their minimum requirements.
If I need a newer PHP, I'll do a version check at the start of the plugin and let the user know when they attempt to activate the plugin.
If its a plugin for work, PHP 5.3 is as far as I can go since WP Engine hasn't upgraded yet.
For plugins I write for my own sites, PHP 5.5 is the minimum.
That isn't much info to go on. I'm assuming you're you using Apache on Linux or OS X and you have a local MySQL server.
You should create a unique virtual host and DB for each site then update the
wp-config.phpwith the correct DB name, host, and credentials.What is your server config currently?
Have you tried using Docker yet? I use it for local dev and I like it better than installing Apache, PHP, Node, etc. on the OS.
To get a development environment I just run
docker-compose up devand it brings up Apache/PHP/MySQL.Starter repo: https://github.com/webdeveric/wp-starter
I use composer to manage all dependencies related to a WP site (WP core, plugins, mu-plugins, and themes). I made a starter project that shows how it works: https://github.com/webdeveric/wp-starter. I use something similar to this at work, where we use Jenkins and github hooks for deployments.
In my use case, I disable auto updates due to the load balanced environment. I've had a user click the upgrade button before and the app servers became out of sync.
To update plugins I just run
composer updatelike I would with any PHP app.You can have multiple favicons of varying sizes by using the
sizesattribute.https://github.com/audreyr/favicon-cheat-sheet
I usually get them from Github by using
repositoriesin mycomposer.json.I do want to set up Satis one day.
For people to use it, you need to make it installable. You need to add the WP plugin headers.
I'd also suggest adding a
composer.jsonto the project withtypeset towordpress-plugin. See https://wpackagist.org/ for more info.I was thinking of something like this: https://www.nginx.com/resources/admin-guide/reverse-proxy/
In this scenario, you'd have nginx serving content and when it encountered a request for /blog, it would ask another server (or virtual host) to handle it then send back the response.
Since you're new to WP, you should review https://codex.wordpress.org/Hardening_WordPress
Depending on file permissions and server configuration, a malicious script could do some damage to the files on your site.
It is possible to move your blog to another server and keep the URL, if you have a proxy in front of your site that directs traffic to the other server for /blog requests.
A simpler solution is to redirect /blog to blog.example.com.
Looks interesting. I use Composer to manage WP dependencies so I created a PR to add some quick improvements.
https://github.com/anrw/classy/pull/25
https://developer.wordpress.org/reference/functions/register_theme_directory/
https://github.com/webdeveric/wp-starter/blob/master/wp-content/mu-plugins/wp-starter/theme-directory.php
You can also add additional theme folder locations.
You can favorite a plugin on the wordpress.org site if you're logged in.
The list of favorites can be found on your profile page. For example, https://profiles.wordpress.org/webdeveric/#content-favorites
Thats great that its down to 31.77%. The last time I checked it was around 50%. Give it a few years and maybe they can finally drop support for 5.2.
Their plugin just triggers an error then returns and the user has no idea why the plugin doesn't work if they have less than PHP 5.4.
I've already forked, fixed, and submitted a PR.
I like that the plugin requires PHP 5.4+. Its nice to see plugin developers actually using more recent PHP features.
I think its time that WP bump their requirements to at least 5.3, especially considering that 5.2.4 (the current WP minimum) came out Aug 2007.
When I used them, I had a dedicated machine where I had full root access. I did not have managed hosting so I did the updates to the OS (if needed).
I think the uptime was never an issue. Once or twice they had an issue with a router and things were inaccessible for a bit, but it was quickly fixed and the account was pro-rated for the downtime.
Pricing was okay, not great, but not a rip-off. I have no idea what other offerings they have or what their pricing is today. Its been a couple years since I used them. Since you're looking for shared hosting, there are many hosting providers that handle that. If you shop around, you'll probably find one that works well with WordPress.
Many, if not all, of my sites at the time were using WordPress. I handled all the updates for those sites myself.
If you're looking for a fully managed shared server AND managed WP updates, you'll probably want find a host that offers managed WordPress hosting. I'd stay away from WP Engine if you need PHP 5.4+. The last time I checked, they were still on PHP 5.3 with no time line for when they would update.
Yes, at my last job we used Hostway. We switched from them to Singlehop which, at the time, had better servers for less money. We were using dedicated servers so your needs might not be the same as mine were.
Last year at work I made a plugin that fetched remote content from one of our servers and I used the WP http api functions to fetch the content. It was easier than rolling my own function to do the same thing.
To help with development, I made a plugin that logs all requests that are made with the wp http api functions. WP internally uses these functions so I ended up logging all theme/plugin update checks and wp cron requests. Its interesting to see all the data that gets sent to WP when checking for updates.
Its on my github if anyone wants to log requests while developing their own plugins. HTTP API Debug
I have a list of a dozen plugin ideas that I've been working on when I have the time.
One of them that I think may be great for administrators is client certificate based multi factor authentication.
If you really wanted to lock down your admin accounts, you could also use something like Google Authenticator. Then, for admin access, you'll need a username & password, verification code, and possess a certificate.
Relevant links:
It would be nice if WP had a function like wp_footer, but for just after the body.
Since they don't, I've had to use output buffering to be able to insert html directly after the opening body tag.
Its pretty easy to set up, but you just need to be aware of all the places it may be used, like on rss feeds, xmlrpc, cron, and ajax.
It would be nice if web hosting companies would upgrade their PHP so we can take advantage of closures, generators, try/catch/finally, better performance (opcache), traits, password hashing api, etc.
If I release a plugin in the WP repo, I usually go with their minimum requirements. If I need a newer PHP, I'll do a version check at the start of the plugin and let the user know when they attempt to activate the plugin.
If its a plugin for work, PHP 5.3 is as far as I can go since WP Engine hasn't upgraded yet.
For plugins I write for my own sites, PHP 5.5 is the minimum.
You don't need this type of hack. WP looks above the document root for you.
Where is your JavaScript? You need to use JS to handle the live changes.
http://codex.wordpress.org/Theme_Customization_API
What code do you have now?
Maybe there is something in the configs you can set.
If not there, then you might want to make a package that does what you want.