WordPress Move Domain Names
Switching domain names when using WordPress involves a few steps you may not think are required. Since WordPress saves the domain name permanently to the database, we have to modify the database along with a few configuration files to move WordPress to a different name. Below is a step by step guide to move your WordPress installation from your old domain name to your shiny new domain name.
This tutorial requires a few key pieces of software. You can either use the programs I list off or use your favorite alternative for each of these programs. Also, with any tutorial in which you have to edit files, creating a backup of everything is highly suggested
Parsing AWStats with PHP
Parsing AWStat files is a simple way to get key statistics without adding another log parser or website tracking system to your server or website. The reason I picked AWStat’s is that nearly every shared hosting server has it already installed and installing it to your own server is very simple, which makes it one of the more popular local tracking systems. That, plus it’s incredibly fast and doesn’t use up resources for each visit since it parses the log file once a day and doesn’t insert a new record of each user every time one visits.
Direct Share Links for Social Networks
With all the various ways you can have your visitors, community or fans share your content with their friends, you have a lot of options to pick from. You can either set up all the javascript for each button, which will end up having to load a lot of extra resources on each page. You can use a service like ShareThis which creates a bar that has various sharing methods that you can customize, but still not have full control of the buttons. Or the best method, create your own setup which you can pick the images, layout, and not have to load any external resources.
PHP Calculate Time Since
While working on a few changes to this website, I needed to code or find a relative time function for PHP. A function that will turn a timestamp or unix_timestamp into how long ago it was performed. For instance, if the timestamp is from yesterday, it would return the string of “1 day ago”, up to values of years. But there was an issue. Whenever I went online to find a function to do this, they all had a ton of nested if statements and a huge list of cases also. So I’m here to show you a simple way to code a PHP function to get relative time.
TweetDeck Getting Started Tips
If you don’t know what TweetDeck is, then you probably don’t need it. Though, for the slim possibility that you do need it and don’t know about it, TweetDeck is a Twitter Manager… in short. You can tweet from multiple accounts, keep track of searches and messages, have lists for each account, and more. It’s all of Twitter in a single screen with support for multiple accounts. TweetDeck is both available online as a website and as a desktop application for OSX and Windows operating systems. They also have a Chrome App, which is basicly just their online version.