From da3d43fc80039539954c41c4152fb8ad65901854 Mon Sep 17 00:00:00 2001 From: Todd Fredrich Date: Wed, 4 Sep 2013 14:53:14 -0600 Subject: [PATCH] Re-added .htaccess file to GIT --- .htaccess | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..3824427 --- /dev/null +++ b/.htaccess @@ -0,0 +1,9 @@ +//Rewrite to www +Options +FollowSymLinks +RewriteEngine on +RewriteCond %{HTTP_HOST} ^restapitutorial.com[nc] +RewriteRule ^(.*)$ http://www.restapitutorial.com/$1 [r=301,nc] + +//301 Redirect Old File +Redirect 301 http://www.restapitutorial.com/restquicktips.html http://www.restapitutorial.com/lessons/restquicktips.html +Redirect 301 http://www.restapitutorial.com/httpmethods.html http://www.restapitutorial.com/lessons/httpmethods.html