Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
add index.php redirection rule to .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed May 10, 2011
1 parent 501b309 commit 0d99bc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .htaccess
@@ -1,6 +1,10 @@
RewriteEngine on
rewritecond %{http_host} ^www.angularjs.org [nc]
rewriterule ^(.*)$ http://angularjs.org/$1 [r=301,nc]

rewritecond %{request_uri} ^/index\.php$
rewriterule ^(.*)$ http://angularjs.org/? [r=301,nc]

redirect 301 /Main_Page http://angularjs.org/
redirect 301 /Angular.attrMarkup http://docs.angularjs.org/#!angular.attrMarkup
redirect 301 /Angular.bind() http://docs.angularjs.org/#!angular.bind
Expand Down

0 comments on commit 0d99bc7

Please sign in to comment.