WordPress, gallery, .htaccess

Categories Geek, Photography & Art

Ok, this is just for my own geeky records in case I ever need this information again. 

I just got my gallery for my friends and family back up, but my root .htaccess was birthing 404’s everywhere.  I couldn’t get to the gallery, but once I got it fixed, all my permalinks were broken. So I added this into my .htaccess file so wordpress won’t touch it when I go to update the permalinks:

# WP Fix

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/gallery/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]


# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Now I can see everything. Yay.  Holla for the password if you don’t got it already.

+-

Not sure if anyone’s used the new Yahoo! Maps Beta , but it is now my choice for mapping.  You can use multiple locations and map the entire trip.  I like it a lot! <—said like Dumb and Dumber

+-

You can get your very own American Idol blog on the Fox site. 

+-

Been meaning to put up this picture: 

 Red Mustang Convertible

Good times, partner, good times.

2 thoughts on “WordPress, gallery, .htaccess

Talk to me, Goose.