htaccess and a 404 page

This commit is contained in:
2012-01-03 00:14:42 -05:00
parent 016261d3d0
commit 02e6ce6040
2 changed files with 26 additions and 0 deletions

21
htaccess Normal file
View File

@ -0,0 +1,21 @@
---
layout: nil
permalink: .htaccess
---
ErrorDocument 404 /404.html
Redirect permanent /james-walker /about/
Redirect permanent /node/feed /atom.xml
Redirect permanent /rss.xml /atom.xml
Redirect permanent /topics/drupal/feed /tag/drupal/atom.xml
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator) [NC]
RewriteRule ^atom.xml http://feeds.feedburner.com/walkah
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator) [NC]
RewriteRule ^tag/drupal/atom.xml http://feeds.feedburner.com/walkah/drupal
</IfModule>