forked from linuxalt/linuxalt-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
25 lines (22 loc) · 1.24 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: nil
---
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^linuxalt.com [nc,or]
rewritecond %{http_host} ^beta.linuxalt.com [nc,or]
rewritecond %{http_host} ^linuxeq.com [nc,or]
rewritecond %{http_host} ^www.linuxeq.com [nc,or]
rewritecond %{http_host} ^linuxalternative.com [nc,or]
rewritecond %{http_host} ^www.linuxalternative.com [nc,or]
rewritecond %{http_host} ^linuxequivalent.com [nc,or]
rewritecond %{http_host} ^www.linuxequivalent.com [nc]
rewriterule ^(.*)$ http://www.linuxalt.com/$1 [r=301,nc]
RewriteRule ^articles\/2011\/configuring\-linux\-jack\-ardour2\-to\-work\-with\-the\-presonus\-firepod\.html$ http://www.linuxalt.com/articles/2011/configuring-linux-jack-ardour2-firepod.html [R=302,L]
RewriteRule ^articles\/2011\/getting-on-the-bitcoin-bandwagon.html$ http://www.linuxalt.com/articles/2011/jumping-on-the-bitcoin-bandwagon.html [R=302,L]
# Old Feed Redirects to Feed burner automatically
RewriteRule ^feed\.xml$ http://feeds.feedburner.com/TheLinuxAlternativeProject [R=302,L]
# Redirect new feeds to feedburner too.
RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
RewriteRule ^atom\.xml$ http://feeds.feedburner.com/TheLinuxAlternativeProject [R=302,NC,L]