Browse Source

htaccess rewrites

windhamdavid 2 years ago
parent
commit
cc4d5071fe
1 changed files with 15 additions and 5 deletions
  1. 15 5
      .htaccess

+ 15 - 5
.htaccess

@@ -1,8 +1,18 @@
-Options -MultiViews
-RewriteEngine On
-RewriteCond %{REQUEST_FILENAME} !-d
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^([^\.]+)$ $1.html [NC,L]
+Redirect 301 /faq-s /eligibility.html
+Redirect 301 /promise-leadership /leadership.html
+Redirect 301 /contact-us /contact.html
+Redirect 301 /greenwood-promise /about.html
+Redirect 301 /students-parents /students.html
+Redirect 301 /resources-research /research.html
+Redirect 301 /phase-2-campaign /about-phase-2.html
+Redirect 301 /gallery-2 /investors.html
+Redirect 301 /news /news.html
+
+#Options -MultiViews
+#RewriteEngine On
+#RewriteCond %{REQUEST_FILENAME} !-d
+#RewriteCond %{REQUEST_FILENAME} !-f
+#RewriteRule ^([^\.]+)$ $1.html [NC,L]
 
 #PRODUCTION remove extension and add trailing backslash
 #RewriteEngine On