PHP5 or WordPress on 1and1 shared hosting server

if you are having issues  simply add this line to your .htaccess file to force php5

AddType x-mapp-php5 .php

Convert Date to Unix Time Stamp

Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds.

1 hour = 3,600 seconds
1 day = 86,400 seconds
1 week = 604,800 seconds
30 days = 2,592,000 seconds
90 days = 7,776,000 seconds

Find time stamp for a date

Convert time stamp to date:


301 redirect with htaccess file

301-redirect

Scenario

You are upgrading your web site and as part of the upgrade, it means moving and renaming particular files.

Danger

Search engines have indexed your entire site and pages you’re going to move or rename rank well. By altering these files, you run the risk of losing a lot of traffic and leaving visitors to your site who follow a search engine link with the dreaded “Error 404 – File not found”.

A 301 redirect is the best way to go and I go into some detail on how to implement one in this tutorial, but first let’s take a look at a couple of other strategies I often see mentioned around the web to get around the problem and why you shouldn’t use them.


Copyright © Jason Huber .net
This site is mobile ready. How about you?