0

What would be the best way(and how would I) redirect a url such as : www.samplesite.com/support

To an actual file : www.samplesite.com/support.htm

randominstanceOfLivingThing
  • 16,873
  • 13
  • 49
  • 72
Steven
  • 687
  • 1
  • 10
  • 27

1 Answers1

0

Create a file inside support called index.html with this inside

<meta http-equiv="refresh" content="0; url=www.samplesite.com/support.htm/" />

This way, when the user goes to www.samplesite.com/support.htm the meta refresh will redirect him to the desired file: support.htm

@NinethSense says here

Use of meta refresh is discouraged by the World Wide Web Consortium (W3C). Ref: en.wikipedia.org/wiki/Meta_refresh. So it is recommended to use server redirect instead.

Community
  • 1
  • 1
Ivan
  • 34,531
  • 8
  • 55
  • 100