Go to ...

Techpository

A Better Technical Repository

RSS Feed

Websites

Linux: WordPress not working after a Linux OS upgrade

After upgrading my Digital Ocean server from Ubuntu 14.04 to 16.04, none of my WordPress sites would work. The issue was that the version of PHP had changed in 16.04 The following steps fixed the issue: sudo apt-get purge php5-common sudo apt-get install libapache2-mod-php sudo apt-get install php-mysql service apache2 restart   By: Timothy Conrad

Software: Dreamweaver sftp connection issue

If Dreamweaver errors on connecting to your SFTP site do the following: 1. Verify your username and password. 2. Test it manually from a putty or filezilla type program to make certain your credentials work. 3. Reenter the data into Dreamweaver’s site management – server section. 4. Try to connect from Dreamweaver – If the

WordPress: How to change pages to posts

There are a few ways to do this, but if you are like me and you want to do it in bulk,  a great way to do this is by using a simple SQL query. If using phpMyAdmin Select your database Select the SQL tab type: UPDATE wp_posts SET post_type = REPLACE( post_type, “page”, “post”

WordPress: Cannot log into admin pages

On occasion something may break your login access to your WordPress site.  For me this has usually been do to a plugin problem after and update.  The login page may not load or you may even get a cookies need enable error. To fix the issue: Log into your hosting site as root. Go to

WordPress: Increase the file upload limit

In /etc/php.ini search for: post_max_size = 8M upload_max_filesize = 2M Change to the needed size and save. If the above does not work try adding the following to the .htaccess file in the root WordPress directory: <IfModule mod_php5.c> php_value upload_max_filesize 10M php_value post_max_size 10M </IfModule>

Older Posts››