Skip to main content
Category

Wordpress

Bitnami WordPress 503 Error Resolution

By Wordpress No Comments
As I was trying to update the company website today, I was getting bombarded with errors while I was trying to upload images. These errors eventually caused a number of 503 errors, to which I had no clue what the cause was. After digging around for several hours, it seems that the issue was related the to APC extension. We're running our server on Amazon Web Services (AWS) and were using the Bitnami Wordpress AMI, which auto-enables this extension and thus in order to fix it temporarily, we had to disable it. In order to do so, all you need to do is the following: Browse to: /opt/bitnami/php/etc Using your favorite editor, edit the php.ini file. Search for the line that says extension=apc.so Add a semi-colon to the start of that line to comment it out ;extension=apc.so Restart Apache  - /opt/bitnami/ctlscript.sh restart apache2 Restart PHP-FPM - /opt/bitnami/ctlscript.sh restart php-fpm Once you're done, your website should…
Read More

Update WordPress URL’s on Migration

By Wordpress No Comments
I have been working on a number of projects recently where I was tasked with creating a developer environment, that will eventually become the main website. One of the major issues I have had while migrating from a development site to a production site was that many of the posts/pages used hard coded URLs instead of static URLs. Now you could go through each individual posts and update the URLs, but that would be quite a tedious task. If you were an advanced user, you could just go into the database and run a script to easily change all the locations where a specific URL is found. However there is an easy method that is readily available as a Wordpress plugin: Velvet Blues Update URLs After installing the plugin, go to Tools > Update URLs This area is really self-explanatory. In the first input, place the URL you are looking to…
Read More

WordPress Uploading Errors

By Wordpress One Comment
For the first time in quite a while, I had installed Wordpress onto a server on my own instead of using a scripting application such as SimpleScript. One of the major issues I was facing was uploading and installing a new template. When I tried to upload the template onto the server, I was getting the following error: The uploaded file could not be moved to wp-content/uploads/2014/01. After a bit of research (Google), the majority of the solutions had basically told me to change the uploads folder and subfolder permissions to 777. Now this is obviously not safe at all - I needed a way to be able to upload content onto my site without the fear of anyone having access to it as well. The solution? It seems that all that was needed was to change the owner of the folders to the correct user. So in order to find…
Read More