htaccess Posts

XO Hosting Review

I’ve been fortunate to work with John Klein and some of the ladies over at KMP Advertising to help them create their new website. They created a beautiful website that I was proud to develop for them. I built the website with a simple php include template and basic htaccess rewrite for the client pages. […]

Redirecting Page Extensions with htaccess

If you are not familiar with htaccess, you are missing out. It is one of the greatest things about linux/php hosting. One little file that gives you a wide range of control. Here is one of the most useful parts of htaccess: Redirecting Many Pages From .html to .php (or “/”) at Once Today, I […]

Securing a Folder

Making a folder secure on your website may seem like a difficult job. Thanks to Phoenix Development, there is a step by step process that will teach you how to make any folder secure. I found this great blog post about Adding Password Protection to your Website *LINK REMOVED AS SITE IS NO LONGER AVAILABLE* […]

Plesk .htaccess Notes

I’ve recently been transferring a website to a Linux Plesk Server. I’ve run into a couple problems, and I’ll be adding notes here on my blog. .htaccess Notes: If you have a line of “options” (ie. Options Indexes FollowSymLinks Includes), you should separate each option out into it’s own line. The .htaccess line should look […]

.htaccess – PHP on HTML/HTM Pages

I went into more detail about what the different processes are of adding php to a website programmed with *.html pages in this earlier htaccess post. Here are a few more .htaccess lines that will enable php on your server. (Different servers require a different line of code.) AddType application/x-httpd-php .html .htm AddType x-mapp-php5 .html […]

.htaccess – AddHandler

There is a very common problem when trying to upgrade sites made by “newbie” website developers or when you realize that html isn’t the only language on the internet, and you need to upgrade your site. Problem: You have a site where every page has a *.html or *.htm extension, and you want to add […]

Regular Expressions – Regex

Regular Expressions (or Regex for short) is a language that I’ve been learning a lot about recently. I don’t have any useful tidbits for you as of yet, but I do have a couple very nice and useful links that can help you learn about regex: Extensive Regex Tutorial (Note: Regex is used a lot […]

.htaccess 301 Redirect: Moved Permanently

I’ve already discussed how to create a 301 permanent redirect using PHP that allows you to forward one page to another. But what if you you have an entire site to redirect? What if you’ve changed domain names? There has got to be a better way to redirect your site besides, adding a php 301 […]