[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

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?

Thanks,

0
pjordanna
Asked:
pjordanna
  • 2
  • 2
1 Solution
 
Cherukuri30Commented:
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

0
 
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?
0
 
Cherukuri30Commented:
ok go through the below article and let me know if you still have any queries

http://www.webconfs.com/how-to-redirect-a-webpage.php

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

Htaccess does *not* have any effect in IIS.

Dave Dietz
0
 
pjordannaAuthor Commented:
thanks Dave - that's what i thought might be the case
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now