How to Make a URL Referral

Save

While developing the design of your website, you may come across the need to refer users to another page in your site or to an outside site. One way to accomplish this is to use a static HTML page as a URL referral, which involves adding a piece of HTML code to the head section of the Web page. Then when visitors navigate to the page, their browsers will automatically reload and refer them to the URL of your choice.

Things You'll Need

  • Web editing application
  • Launch a professional Web-editing application such as Adobe Dreamweaver or a basic word processor such as Microsoft Word.

  • Open the HTML document for the page that you want to use as a URL referral.

  • Scroll to the top of HTML code to find the section labeled "Head."

  • Place your text cursor in between the "<head>" and "</head>" tags.

  • Add "<meta HTTP-EQUIV="REFRESH" content="0; URL=http://www.newURL.com">" to the HTML code. Then, replace "http://www.newURL.com" with the URL to which you want to refer visitors.

  • Save the HTML document and upload it to your active Web servers. Now when visitors navigate to the page, their browsers will automatically refer them to the URL you selected.

References

  • Photo Credit Photos.com/Photos.com/Getty Images
Promoted By Zergnet

Comments

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!