-2

I want to redirect an url from the form :

  • /cgi-sys/suspendedpage.cgi/

to the form :

I tried this but did not work

Redirect 301 /cgi-sys/suspendedpage.cgi/ http://www.domain.com/

Is there a way to redirect it?

Amit Verma
  • 40,709
  • 21
  • 93
  • 115
K22
  • 11
  • Your code looks like it should work. what actually is your problem? – Amit Verma Apr 12 '16 at 15:10
  • theres no problem actually.. a client just wants this link /cgi-sys/suspendedpage.cgi/ be directed to the homepage link. anyway thanks for the help – K22 Apr 14 '16 at 09:51

1 Answers1

1

I suspect it doesn't like the trailing '/'. Try this:

Redirect 301 /cgi-sys/suspendedpage.cgi http://www.domain.com/
Amit Verma
  • 40,709
  • 21
  • 93
  • 115
Curt Evans
  • 346
  • 2
  • 4