301 redirect in iis for htm files

Hi experts,

i need to 301 redirect some .htm files, and don't have access to IIS, just ftp.

Anyone know how to do this?


Who is Participating?

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

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.

Sridhar CherukuriService EngineerCommented:
if you dont have access to IIS then do this

open a notepad and type the below instruction

Redirect permanent / http://www.new-url.com 

and then save the file as .htaccess (remember the whole filename should be just .htaccess no name before . or no extension after htaccess it is just .htaccess) and then upload this to your root directory through ftp

pjordannaAuthor Commented:
thanks for the reply Cherukuri30  - how do i specify actual pages to redirect using the htaccess file and does this work in iis as well as php?
Sridhar CherukuriService EngineerCommented:
ok go through the below article and let me know if you still have any queries


If you do not have access to the IIS configuration you cannot do this.

Htaccess does *not* have any effect in IIS.

Dave Dietz

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
pjordannaAuthor Commented:
thanks Dave - that's what i thought might be the case
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
Microsoft IIS Web Server

From novice to tech pro — start learning today.