htaccess and a 404 page
This commit is contained in:
parent
016261d3d0
commit
02e6ce6040
5
404.html
Normal file
5
404.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: Uh oh.
|
||||||
|
---
|
||||||
|
Looks like I lost that one, sorry. Maybe check the <a href="/blog">archive</a>?
|
21
htaccess
Normal file
21
htaccess
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user