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
  • 14,355
  • 11
  • 43
  • 68
Steven
  • 647
  • 1
  • 9
  • 24

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
  • 24,563
  • 6
  • 44
  • 76