How to Disable a Metadata Refresh

A metadata refresh HTML tag redirects a webpage reader from one page to another page on the website. Webmasters use metadata refresh configurations when they redesign a website and need to redirect users who come to the site from old back links. Using the refresh technique allows you to redirect traffic, so you do not lose the reader who clicks an old link.

Instructions

    • 1

      Right-click the HTML file that contains the metadata refresh tag. Click the "Open With" option in the popup menu. Choose your preferred HTML editor in the list and click "Open."

    • 2

      Locate the metadata refresh tag. The tag is typically at the top of the page or within the "<head>" and "</head>" tags. The following HTML is an example of a metadata refresh tag:

      <meta HTTP-EQUIV="Refresh" content="5; URL=newpage.html">

    • 3

      Delete the entire metadata tag. If you do not want to delete the tag, you can comment out the code. The following shows you how to comment out the metadata refresh:

      <!-- <meta HTTP-EQUIV="Refresh" content="5; URL=newpage.html"> -->

      The "<!--" and "-->" tags comment out the tag, so it is disabled without deleting the code.

Related Searches:

References

Comments

Related Ads

Featured