I've got a question regarding redirecting to some specific page. I've the next working

Redirect /inventoryForm /Form.html

Work perfect! But, when the URL is

localhost/inventoryForm/form/test.... it goes to localhost/Form.html/form/test..

I only would like it to visit Form.html if a person would go to /inventoryForm, regardless should they have form/test...etc


I recommend using RedirectMatch , or mod_rewrite rather than mod_alias. RedirectMatch doc

RedirectMatch /inventoryForm /Form.html

or RewriteRule /inventoryForm /Form.html [R=302]