It finally happened. After years of trying out framework and technologies, I went back to the good old self hosted WordPress.
Continue reading “Aaand… back to WordPress”
Continue reading “Switching from WordPress to Eleventy”
I am pretty sure most people have at least heard about the mighty WordPress APIs. These APIs make it possible to create, modify and retrieve posts from our WordPress installations, although what we really want to do the most should be to using WordPress as an awesome backend to power cool applications. Think the possibilities…
Continue reading “Modifying WP API response to add previous and next post ID”
This might be old stuff for many people out there and I know that most things can be accomplished with the amazing WP API, still I think it’s good to have a simple example of using AJAX to call a WordPress function in one post. Here we go!
Continue reading “How to use AJAX to call a function in WordPress”
I have been working on a comprehensive and secure htaccess file to be used with a WordPress install. I have uploaded it on Github: Htaccess for WordPress
note: it forces https access, be sure to disable that part if you don’t need it.
Scenario: You have a VPS, you have installed Apache, MySQL, PHP and WOrdpress, and you want to enable pretty permalinks.
If you’re getting a 404 error when accessing your WordPress posts after having enabled pretty permalinks in the settings, then this is how to solve the issue (at least it worked for me).
Log in into your VPS server.
Continue reading “Enable WordPress pretty permalinks”
Just a quick and simple tip. If you are on ubuntu and working with WordPress on a local installation, and you are finding yourself in the situation of being unable to access your posts when you enable pretty permalinks (which is, a custom post structure in Settings > Permalinks), the reason could be that you simply need to enable mod rewrite on you local Apache server.
Continue reading “Enable pretty permalinks on localhost”