.htaccess 301 redirect index.php, index.html in subdomain

Hi,
I have this page for a client:
http://irrevocable-trust.ultratrust.com/

But when I use:
http://irrevocable-trust.ultratrust.com/index.php
http://irrevocable-trust.ultratrust.com/index.html

the page isn't found. I wish to use .htaccess to do a 301 redirect from
http://irrevocable-trust.ultratrust.com/index.php
to
http://irrevocable-trust.ultratrust.com/

I tried this:
RewriteRule ^index.php$ http://irrevocable-trust.ultratrust.com/ [R=301, L]

But it doesn't work.
I have this in the same .htaccess file for the subdomain like:
RewriteRule ^intentionally-defective-grantor-trust.html$ http://irrevocable-trust.ultratrust.com/irrevocable-trust-agreement.html [r=302]

and it works. So I don't know why this doesn't work:
RewriteRule ^index.php$ http://irrevocable-trust.ultratrust.com/ [R=301, L]

Thank you,
Victor
Victor KimuraSEO, Web DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
You need to use custom error handler for 401 or 403. A rewrite will not apply to a direct access page. The 403 overwrite handler will effect every access to a non-existent url

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
torakeshbCommented:
Please check out my article

http://www.experts-exchange.com/A_8789.html

Simple 301 redirect accessing a page to a newwebpage.

RewriteEngine On
Redirect 301 /mypage.htm http://newwebpage.com
 
Save the file and upload the .htaccess file to the root of the domain that hosts the old page. This will do a permanent redirect the page to the newwebpage.com and get the advantage of old web site ranking as well.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.