Blog articles tagged with htaccess

Configuring and compiling Nginx and PHP-FPM on Ubuntu for Magento, Part 3

01.03.2010 06:47PM by Evan Johnson

This is the 3rd and final article about installing Magento on Nginx with PHP-FPM. Part 1 is here, and Part 2 is here.

This part explains how I set up my public web directories, and how I did the Nginx configuration files for a Magento site. One of the tricky things about switching to Nginx from Apache is that Nginx does not use .htaccess files or the usual Apache...

Read the full article...

Comment

htaccess 301 Redirects from one URL query string to another

02.01.2009 11:14AM by Evan Johnson

The other day I was trying to set up a 301 Moved Permanently redirect that took one dynamic url and redirected to another dynamic url.

Searching around I found plenty of tips on how to redirect from older “ugly” style dynamic urls like “test.php?id=999” to new “clean” dynamic urls like “test/999”, but that wasn’t exactly what I needed. I needed to go from something like “page.php?id=999” to something...

Read the full article...

Comment [2]